Learn R Programming

osmextract (version 0.2.1)

oe_download_directory: Return the download directory used by the package

Description

By default, the download directory is equal to tempdir(). You can set a persistent download directory by adding the following command to your .Renviron file (e.g. with edit_r_environ function in usethis package: OSMEXT_DOWNLOAD_DIRECTORY=/path/to/osm/data.

Usage

oe_download_directory()

Arguments

Value

A character vector representing the path for the download directory used by the package.

Examples

Run this code
# NOT RUN {
oe_download_directory()
# }

Run the code above in your browser using DataLab