ropensci / tidyhydat

An R package to import Water Survey of Canada hydrometric data and make it tidy
https://docs.ropensci.org/tidyhydat
Apache License 2.0
70 stars 19 forks source link

Resolve issue # 187 #188

Closed gdelaplante closed 1 year ago

boshek commented 1 year ago

Thanks for sticking with this! I think actually the directory should be created up here:

https://github.com/ropensci/tidyhydat/blob/fd083f0aa826aae6691e53ad52afe7132ebde0d3/R/download.R#L33

Can you add a dir.create(dl_hydat_here, showWarnings = FALSE) line up there instead?