install_task_spec: Create a task to install a package and dependencies

View source: R/task_spec.R

install_task_specR Documentation

Create a task to install a package and dependencies

Description

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") or, for macOS, "--dsym".

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()


checked documentation built on June 10, 2025, 9:08 a.m.