install(pkg, reload=TRUE)
as.package
for more informationTRUE
(the default), will automatically reload the
package after installing.R CMD INSTALL
to install the package. Will
also try to install dependencies of the package from
CRAN, if they're not already installed. Installation takes place on a copy of the package
produced by R CMD build
to avoid modifying the
local directory in any way.