delete_mirror {zendown} | R Documentation |
Delete a deposit mirror
Description
This function will delete all mirrored files stored locally.
Usage
delete_mirror(deposit_id, cache_type = NULL, cache_dir = NULL)
Arguments
deposit_id |
numeric. The Zenodo deposit id. |
cache_type |
character. Use |
cache_dir |
character. User specified cache directory for persistent cache type. |
Value
No return value. The function deletes mirrored on the system.
Examples
# 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)
[Package zendown version 0.1.0 Index]