Create a task to install a package and dependencies
Usage
install_task_spec(type = getOption("pkgType"), INSTALL_opts = NULL, ...)
Arguments
- type
character, indicating the type of package to download and install. Will be
"source"
except on Windows and some macOS builds: see the section on ‘Binary packages’ for those.- INSTALL_opts
an optional character vector of additional option(s) to be passed to
R CMD INSTALL
for a source package install. E.g.,c("--html", "--no-multiarch", "--no-test-load")
.Can also be a named list of character vectors to be used as additional options, with names the respective package names.
- ...
Additional parameters passed to
task_spec()
See also
Other tasks:
check_task_spec()
,
checked-task-df
,
custom_install_task_spec()
,
rev_dep_check_tasks_df()
,
revdep_check_task_spec()
,
source_check_tasks_df()
,
task_spec()