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
.osm.pbf
and.gpkg
files are saved. Default value isoe_download_directory()
.- force
Internal option. It can be used to skip the checks run at the beginning of the function and force the removal of all
pbf
/gpkg
files.
Value
The same as unlink()
.