- pkg
character string or vector with name of package(s) to load/install.
- date
character string (yyyy-mm-dd), or date value, with the date which
determines the version of the package, and all dependencies, to be loaded
(and installed if needed). The most recent date accepted is 2 days prior
to when the code is executed.
- quiet.install
logical, defaults to TRUE
. When set to FALSE
, displays
output generated by install.packages()
when installing from source
- include.suggests
logical, defaults to FALSE
. When set to TRUE
,
loads dependencies classified in the DESCRIPTION file as suggested
.
- ignore.deps
an optional character vector containing dependencies which
are already loaded in the R session, and create a conflict with a needed
dependency for the package being loaded (mismatch of version), but which should be ignored
and groundhog.library() should proceed tolerating the conflict.
- force.source
logical (defaults to FALSE
). When set to TRUE
, if the requested package,
or its dependencies, needs to be installed, they will be installed from source
(much slower than from binaries).
- force.install
logical (defaults to FALSE
). When set to TRUE
,
will re-install the requested packages and
their dependencies even if they are already installed.
- force.source.main
logical (defaults to FALSE
). When set to TRUE
, if the
requested package needs to be installed it will be installed from source
(but dependencies are installed from binaries if needed and available).
- force.install.main
logical (defaults to FALSE
). When set to TRUE
,
will re-install the requested packages even
if they are already installed (but dependencies will not be re-installed).
- tolerate.R.version
optional character string containing an R version
which groundhog.library()
will not throw an error for using, even if the
date entered corresponds to a more recent major R release.
- cores
Integer. The maximum number of cores to use during parallel installation
of source packages. The default, -1, uses the total number of cores available minus 1.
Setting core
=1 leads to installing source packages, and also to downloading binaries,
sequentially. When installation fails, you may want to try cores=1