Internal function to install packages
.installPackages(packages, repos = getOption("repos"), githubPkgs = character(0), githubPkgNames, nonLibPathPkgs = character(0), install_githubArgs, install.packagesArgs = list(), libPath = .libPaths()[1], standAlone = standAlone, forget = FALSE)
| packages | Character vector of packages to install via
|
|---|---|
| repos | The remote repository (e.g., a CRAN mirror), passed to |
| githubPkgs | Character vector of github repositories and packages, in the
form |
| githubPkgNames | Character vector of the package names, i.e., just the R package name. |
| nonLibPathPkgs | Character vector of all installed packages that are in |
| install_githubArgs | List of optional named arguments, passed to install_github |
| install.packagesArgs | List of optional named arguments, passed to install.packages |
| libPath | The library path where all packages should be installed, and looked for to load
(i.e., call |
| standAlone | Logical. If |
| forget | Internally, this function identifies package dependencies using a memoised
function for speed on reuse. But, it may be inaccurate in some cases,
if packages were installed manually by a user. Set this to |
# NOT RUN { .installPackages("crayon") # }