Use a specific action, either one of the example actions from
or a custom action given by the
use_github_action( name, url = NULL, save_as = NULL, ignore = TRUE, open = FALSE ) use_github_action_check_release( save_as = "R-CMD-check.yaml", ignore = TRUE, open = FALSE ) use_github_action_check_full( save_as = "R-CMD-check.yaml", ignore = TRUE, open = FALSE ) use_github_action_pr_commands( save_as = "pr-commands.yaml", ignore = TRUE, open = FALSE )
Name of the GitHub action, with or without
The full URL to the GitHub Actions yaml file. By default, the corresponding action in https://github.com/r-lib/actions will be used.
Name of the actions file. Defaults to
Should the newly created file be added to
Open the newly created file for editing? Happens in RStudio, if
applicable, or via
This action installs the latest release R version on macOS and runs
R CMD check
via the rcmdcheck package.
This action installs the last 5 minor R versions and runs R CMD check
via the rcmdcheck package on the
three major OSs (linux, macOS and Windows). This action is what the
tidyverse teams uses on their repositories, but is overkill for less
widely used packages, which are better off using the simpler
This workflow enables the use of 2 R specific commands in pull request
/document will use
roxygen2 to rebuild the documentation for
the package and commit the result to the pull request.
/style will use
styler to restyle your package.
github_actions for generic workflows.