View source: R/steps-rcmdcheck.R
step_rcmdcheck | R Documentation |
Check a package using rcmdcheck::rcmdcheck()
,
which ultimately calls R CMD check
.
step_rcmdcheck(
...,
warnings_are_errors = NULL,
notes_are_errors = NULL,
args = NULL,
build_args = NULL,
error_on = "warning",
repos = repo_default(),
timeout = Inf,
check_dir = "check"
)
... |
Ignored, used to enforce naming of arguments. |
warnings_are_errors, notes_are_errors |
|
args |
Default for local runs: Default for Windows:
On GitHub Actions option "–no-manual" is always used (appended to custom
user input) because LaTeX is not available and installation is time
consuming and error prone. |
build_args |
|
error_on |
|
repos |
|
timeout |
|
check_dir |
|
Packages shipped with the R-installation will not be updated as they will be
overwritten by the R-installer in each build.
If you want these package to be updated, please add the following
step to your workflow: add_code_step(remotes::update_packages("<pkg>"))
.
dsl_init()
get_stage("script") %>%
add_step(step_rcmdcheck(error_on = "note", repos = repo_bioc()))
dsl_get()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.