Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Henri-Lo/ea2f478c1d4e59732ff03933a6bb6bff to your computer and use it in GitHub Desktop.
Save Henri-Lo/ea2f478c1d4e59732ff03933a6bb6bff to your computer and use it in GitHub Desktop.
yaml to build R package for bitbucket pipelines continuous integration
image: rocker/hadleyverse:latest
pipelines:
default:
- step:
script:
- cd /opt/atlassian/pipelines/agent/build
- Rscript -e 'devtools::install_deps(".", dependencies=TRUE, upgrade=FALSE)'
- Rscript -e 'devtools::build()'
- Rscript -e 'devtools::install(upgrade_dependencies = FALSE)'
- Rscript -e 'devtools::check()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment