Inverse of outUpload(). Downloads one or more tar.gz archives from a
Google Drive folder to a local directory, using
reproducible::preProcess() (so re-runs hit the local copy when present).
Vectorised: typically called with the multi-row dribble returned by
outList() / outScenarios().
reGet(gFiles, destDir, overwrite = FALSE, verbose = TRUE)Either a Google Drive dribble (e.g. the output of
outList() / outScenarios()) or a character vector of Drive file IDs
or URLs.
Character scalar. Local directory to write tarballs into. Created if it does not exist.
Logical. Force re-download even if the local file
exists. Default FALSE.
Logical. Print elapsed time per download. Default TRUE.
A data.table with columns name and local_path, one row per
downloaded file.