Learn R Programming

adapr (version 2.0.0)

addPackage: Add R package to a project

Description

Add R package to a project

Usage

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

Value

Library information data

Details

Not for direct use. Installs and loads all packages

Examples

Run this code
# NOT RUN {
addPackage("adaprHome","ggplot2")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab