download_cran: Download some of CRAN

Description Usage Arguments

View source: R/cran.R

Description

Download a fraction of CRAN to serve locally.

Usage

1
2
3
download_cran(packages, path, r_version = NULL, target = "windows",
  suggests = FALSE, package_sources = NULL,
  missing_index_is_error = TRUE, progress = NULL)

Arguments

packages

Character vector of packages to download

path

Destination

r_version

Target R version

target

Target platform (use "ALL" for all platforms)

suggests

Include suggested packages too?

package_sources

A provisionr::package_sources object

missing_index_is_error

Is a missing PACKAGES index an error? Set this to FALSE when downloading from incomplete repositories (e.g., a drat repo that contains only source files if you are trying to download binaries)

progress

Control progress bar printing


richfitz/provisionr documentation built on Sept. 9, 2020, 8:46 p.m.