Create a task to run R CMD check
Arguments
- args
Character vector of arguments to pass to
R CMD check
. Pass each argument as a single element of this character vector (do not use spaces to delimit arguments like you would in the shell). For example, to skip running of examples and tests, useargs = c("--no-examples", "--no-tests")
and notargs = "--no-examples --no-tests"
. (Note that instead of the--output
option you should use thecheck_dir
argument, because--output
cannot deal with spaces and other special characters on Windows.)- build_args
Character vector of arguments to pass to
R CMD build
. Pass each argument as a single element of this character vector (do not use spaces to delimit arguments like you would in the shell). For example,build_args = c("--force", "--keep-empty-dirs")
is a correct usage andbuild_args = "--force --keep-empty-dirs"
is incorrect.- ...
Arguments passed on to
task_spec
alias
task alias which also serves as unique identifier of the task.
package_spec
package_spec
objectenv
environmental variables to be set in separate process running specific task.
See also
Other tasks:
checked-task-df
,
custom_install_task_spec()
,
install_task_spec()
,
rev_dep_check_tasks_df()
,
revdep_check_task_spec()
,
source_check_tasks_df()
,
task_spec()