sckott / webmiddens

cache http requests
https://sckott.github.io/webmiddens
Other
10 stars 1 forks source link

make cache path specific to the package the caching is done in #11

Open sckott opened 4 years ago

sckott commented 4 years ago

see https://github.com/ropensci/rcrossref/issues/185

right now, the user sets the cache path with wm_configuration("foo2") which sets the last part of the path, e.g., /home/jane/.cache/R/foo2

could we have wm_configuration() put the package name in the cache path too, so

/home/jane/.cache/R/rcrossref/foo2 instead of /home/jane/.cache/R/foo2