bundlePackages: Bundles all packages required by model

Description Usage Arguments Examples

Description

The bundlePackages function obtains all packages other than packages included in base R used in the model and bundles them for inclusion in the model archive.

Usage

1
2
bundlePackages(filePath = "modelArchive", repositories = c(CRAN =
  "http://cran.rstudio.com", GRAN = "http://owi.usgs.gov/R"), localRepos = "")

Arguments

filePath

Relative file path of folder cooresponding to model archive folder.

repositories

Named character vector containing urls of package repositories

localRepos

Character string containing path to local local repository on disk for packages, if applicable.

Examples

1

USGS-R/modelArchive documentation built on May 9, 2019, 8:38 p.m.