Description Usage Arguments Value Examples
Delete all the given files from the package cache.
1 | remove_cached_files(pkg_info, relative_filenames)
|
pkg_info, |
named list. Package identifier, see get_pkg_info() on how to get one. |
relative_filenames, |
vector of strings. A vector of filenames, relative to the package cache. |
logical vector. For each file, whether it was deleted. Note that files which did not exist were not deleted! You should check the results using 'files_available'.
1 2 | pkg_info = get_pkg_info("mypackage")
deleted = remove_cached_files(pkg_info, "some_file.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.