You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can set a persistent download_directory by adding the following to your .Renviron file (e.g. with edit_r_environ function in usethis package): OSMEXT_DOWNLOAD_DIRECTORY=/path/to/osm/data.
CRAN can be strict on writing to the hardrive, e.g.: ropensci/osmextract#175
I've not checked but in case some of your functions write to HD by default, I think it's worth making it use
tempdir()
by default.This is how we tackled it in {osmextract} and in the prototype {spanishoddata}:
Source: https://github.com/Robinlovelace/spanishoddata/blob/73528cb2e867c9e99456cbe67fe1c6b08bca8dc8/R/get.R#L63C1-L69C2
And the more mature {osmextract}:
Source: https://docs.ropensci.org/osmextract/reference/oe_get.html
Happy to have a go at this one at some point...
The text was updated successfully, but these errors were encountered: