install.packages: This overwrites the base install.packages function to only...

Description Usage Arguments Value Author(s) Examples

View source: R/package_functions.R

Description

This overwrites the base install.packages function to only install the function in the user's project library for package version control

Usage

1
2
install.packages(pkgs, versions = NULL, sources = NULL,
  lib = proj.env$libPath, update_req_pkgs = F, ...)

Arguments

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

Value

No return value

Author(s)

Alex Hubbard (hubbard.alex@gmail.com)

Examples

1
install.packages("packageName")

opendoor-labs/projectmap documentation built on Oct. 8, 2019, 1:58 p.m.