![]() If your package has a pkgdown site then you probably also want the pkgdown workflow. For an R package you would typically want the test-coverage workflow and one of the check- workflows, depending on how thoroughly you want to check your package across operating systems and R versions. github/workflows directory of your R package or project. You can copy the ones you’d like to use to the. Setting up r-lib/actionsĮxample workflows, it is best to start with these. Setup-r-dependencies installs R package dependencies,Ĭheck-r-package runs R CMD check on an R package. Setup-r installs R and on Windows Rtools, R-lib/actions repo has a number of reusable actions that perform common R-related tasks: installing R and Rtools, pandoc, installing dependencies of R packages, running R CMD check, etc.: If you’re developing a package this allows you to automate tasks like running R CMD check on multiple platforms or rebuilding your GitHub Actions is a continuous integration service that allows you to automatically run code whenever you push to GitHub. ![]() In this post, we’ll show how to set up r-lib/actions for your R package or project, and what is new in the v2 version. If you are already using these actions, you might want to take look at the We’re tickled pink to announce a v2 release of our collection of R related GitHub Actions at.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |