addPackage: Add R package to a project

Description Usage Arguments Details Value Examples

View source: R/add_library.R

Description

Add R package to a project

Usage

1
2
3
4
5
6
addPackage(
  project.id = getProject(),
  library.name,
  library.install = NA,
  library.specific = FALSE
)

Arguments

project.id

project.id to add R package to

library.name

R package name to add

library.install

Command to install library: NA for CRAN, bioC for bioconductor

library.specific

logical indicate whether package is for specific R script

Details

Deprecated & Not for direct use. Installs and loads all packages in a library file.

Value

Library information data

Examples

1
2
3
4
## Not run: 
addPackage("adaprHome","ggplot2")

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.