Download files marked as mismatched to package cache. You should check afterwards whether this was successful, e.g., via 'files_exist_md5'.
1 2 3 4 5 6 | download_files_with_md5_mismatch(
local_files_absolute,
local_files_md5_ok,
urls,
files_are_binary = NULL
)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.