Description Usage Arguments Value Author(s) Examples
View source: R/package_functions.R
This overwrites the base install.packages function to only install the function in the user's project library for package version control
1 2 | install.packages(pkgs, versions = NULL, sources = NULL,
lib = proj.env$libPath, update_req_pkgs = F, ...)
|
pkgs |
Vector of package names |
versions |
Vector of versions aligned with the packages |
sources |
Vector of sources to install each package: i.e. "CRAN", "Github user/package_name". |
lib |
Path to users package library |
... |
First, package name, then other named arguments passed to the base install.packages function |
No return value
Alex Hubbard (hubbard.alex@gmail.com)
1 | install.packages("packageName")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.