Description Usage Arguments Functions
Convenience functions for adding github actions workflows to the R package for Continuous Integration and Deployment.
dev_use_gha_dockerfile()
Adds a Dockerfile that is designed to
conform to our standard Dockerfile template. This has common Linux
dependencies, all the package dependencies specified in the package
DESCRIPTION
file, and current package installation.
dev_use_gha_makefile()
Adds a feature-rich Makefile that contains
common commands for building, publishing and releasing the package. This
is used by workflow files in Github Actions.
dev_use_gha_workflows()
Adds automerge, testing, and deployment for
packages. Testing runs building of Docker image, testthat()
test suite,
lintr
linting, and spelling
spell checks.
1 2 3 4 5 6 7 | dev_use_gha_dirs()
dev_use_gha_dockerfile(type, overwrite = FALSE, envir = parent.frame())
dev_use_gha_makefile(type, overwrite = FALSE, envir = parent.frame())
dev_use_gha_workflows(type, overwrite = FALSE, envir = parent.frame())
|
type |
type of setup (package, golem) |
overwrite |
overwrite the files if they exist |
dev_use_gha_dirs
: Setup directories
dev_use_gha_dockerfile
: Setup Dockerfile
dev_use_gha_makefile
: Standard Makefile template
dev_use_gha_workflows
: Add github actions workflows for automerging, testing, and deployment that
confirm to github actions standards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.