Could use `tools::R_user_dir()` as was implemented in osmextract: https://github.com/ropensci/osmextract/releases/tag/v0.6.0
Could use
tools::R_user_dir()as was implemented in osmextract: https://github.com/ropensci/osmextract/releases/tag/v0.6.0