Skip to contents

Download Package Archive from Microsoft R Archive Network

Usage

downloadPackagesFromSnapshot(
  packages,
  snapshot_date,
  destdir = NULL,
  type = c("source", "win.binary")[1L]
)

Arguments

packages

names of packages (vector of character)

snapshot_date

date of snapshot of CRAN package versions, as a string in yyyy-mm-dd format

destdir

path to download folder

type

one of c("source", "win.binary")

Value

paths to the downloaded files (vector of character)