download_RStudio_CRAN_data_r: Download RStudio CRAN mirror data files into a folder(not...

Usage Arguments Value

View source: R/RStudio_CRAN_data.R

Usage

1
2
3
download_RStudio_CRAN_data_r(START = as.Date(Sys.time()) - 5,
  END = as.Date(Sys.time()), log_folder = tempdir(),
  trunc_END_date_to_today = TRUE, override = FALSE, message = TRUE, ...)

Arguments

START

the defaults is 5 days before today. A character string of the START date for files to be downloaded. The date format is "YYYY-MM-DD".

END

the defaults is today. A character string of the END date for files to be downloaded. The date format is "YYYY-MM-DD".

log_folder

the folder into which we would like the files to be downloaded to. Default is the temporary folder picked by tempdir.

trunc_END_date_to_today

default is TRUE. Makes sure that if END date is later then today, the END date will be change to today (since otherwise, we will only get many 404 errors)

override

boolean (default is FALSE) - should the function download files that are already available in the temp folder

message

boolean (default is TRUE) - should a message be printed in interesting cases.

...

not in use.

Value

Returns the value of log_folder.


zhuangyanbuaa/cranlog documentation built on May 4, 2019, 11:22 p.m.