Description Usage Arguments Details Author(s)
View source: R/provision_library.R
Create or update a library of packages.
1 2 3 4 |
packages |
A character vector of packages to include |
lib |
A path to the library; if it does not exist, it will be created. If given as a vector of libraries (i.e., with more than one element) then packages will be installed into the first library, but subsequent libraries will be checked to make sure that dependencies are satisfied. |
platform |
The platform to create the library for. If
|
version |
The version of R to install packages for. By
default, we use the same version (major.minor) as the current
running R version. Otherwise provide the desired version number
as a string or |
src |
An optional description of additional packages, using
|
check_dependencies |
Logical, indicating if dependencies of
|
installed_action |
The behaviour when some packages are
already installed. Options are |
allow_missing |
For cross-installation (via
|
refresh_drat |
Logical indicating if the cache of packages
pointed to by |
quiet |
Passed through to to |
progress |
Passed through to the package downloading to control printing of the progress bar. |
Cross installation of binary files is difficult and I need to come up with a way of making that work nicely.
Rich FitzJohn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.