Closed juliasilge closed 1 year ago
I just double checked in pins-python, and apparently it uses PINS_CACHE_DIR
as an optional env var for overriding the cache directory. (I don't think this is documented, and probably exists for unit tests..). May be useful to change here or there to match env vars?
Thanks to both!
@machow I changed the env var here so it matches what pins for Python has. 👍
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Closes #747
With these changes, we can now use an environment variable to specify where the cache goes:
Created on 2023-06-02 with reprex v2.0.2
This also finally fixes #611 by documenting how the env variables work, with some advice on a read-only filesystem like AWS Lambda.