oe_clean {osmextract} | R Documentation |
Clean download directory
Description
This functions is a wrapper around unlink()
that can be used to delete all
.osm.pbf
and .gpkg
files in a given directory.
Usage
oe_clean(download_directory = oe_download_directory(), force = FALSE)
Arguments
download_directory |
The directory where the |
force |
Internal option. It can be used to skip the checks run at the
beginning of the function and force the removal of all |
Value
The same as unlink()
.
Examples
# Warning: the following removes all files in oe_download_directory()
## Not run:
oe_clean()
## End(Not run)
[Package osmextract version 0.5.1 Index]