Skip to contents

install_All() is retained for backward compatibility. Use install_all() for new code.

Usage

install_All(pkgs = NULL, update = FALSE, github = TRUE, gitlab = FALSE, ...)

# S4 method for class 'ANY'
install_All(pkgs = NULL, update = FALSE, github = TRUE, gitlab = FALSE, ...)

Arguments

pkgs

An optional character vector of additional package names. The default is NULL.

update

A logical value. If TRUE, optional packages are force-reinstalled. The default is FALSE.

github

A logical value (default TRUE) specifying whether packages configured in GitHub repositories are included.

gitlab

A logical value (default FALSE) specifying whether packages configured in GitLab repositories are included.

...

Additional named arguments passed to pak::pkg_install(), such as lib, ask, dependencies, or upgrade.

Value

See install_all().

Examples

if (FALSE) { # interactive()
# Compatibility alias: installs optional module dependencies.
# Prefer install_all() in new scripts.
install_All()
}