Builds and install a minimal version of a package from its source directory.
quickinstall(
path,
destdir = NULL,
vignettes = FALSE,
force = TRUE,
...,
lib.loc = if (!is.null(destdir)) TRUE
)
quickinstall
returns the path of the library where the package was installed.
path to the package source directory
installation directory.
If NULL
, the package is installed in the default installation library.
If NA
, the package is installed in a temporary directory, whose path is returned
as a value.
logical that indicates if the vignettes should be rebuilt and installed.
logical that indicates if the package should be installed even if a previous installation exists in the installation library.
extra arguments passed to R.CMD
library specification.
If TRUE
then the installation directory destdir
is added to the default
library paths.
This can be usefull if dependencies are installed in this directory.
If NULL
, then the default library path is left unchanged.