View source: R/delete_mirror.R
delete_mirror | R Documentation |
This function will delete all mirrored files stored locally.
delete_mirror(deposit_id, cache_type = NULL, cache_dir = NULL)
deposit_id |
numeric. The Zenodo deposit id. |
cache_type |
character. Use |
cache_dir |
character. User specified cache directory for persistent cache type. |
No return value. The function deletes mirrored on the system.
# https://zenodo.org/records/10959197
file_path <- zen_file(10959197, "iris.rds")
print(file_path)
file.exists(file_path)
delete_mirror(10959197)
file.exists(file_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.