download_files_with_md5_mismatch: Download files marked as mismatch to package cache.

Description Usage Arguments

View source: R/filecache.R

Description

Download files marked as mismatched to package cache. You should check afterwards whether this was successful, e.g., via 'files_exist_md5'.

Usage

1
2
3
4
5
6
download_files_with_md5_mismatch(
  local_files_absolute,
  local_files_md5_ok,
  urls,
  files_are_binary = NULL
)

Arguments

local_files_absolute,

vector of strings. A vector of filenames, must already include the package cache part.

local_files_md5_ok,

logical vector. For each file, whether the local copy is OK. Only files for which this lists FALSE will be downloaded.

urls,

vector of strings. For each file, a remote URL where to download the file. Will be passed to 'downloader::download', see that function for URL encoding details.

files_are_binary,

logical vector. For each file, whether it is binary. Only required on Windows, when files need to be downloaded. See 'downloader::download' docs for details.


pkgfilecache documentation built on May 18, 2021, 1:06 a.m.