bcdata icon indicating copy to clipboard operation
bcdata copied to clipboard

In-session caching

Open ateucher opened this issue 5 years ago • 4 comments

WIP. Closes #4 when complete

ateucher avatar Oct 23 '20 21:10 ateucher

I think this is failing on GH actions due to the inability to write to the cache directory. Need to detect if on actions, and set option accordingly

ateucher avatar Oct 23 '20 23:10 ateucher

And in case this saves having to look this up, there is an env variable accessible by Sys.getenv("GITHUB_ACTIONS")

boshek avatar Oct 26 '20 17:10 boshek

Ok, that's great. Though I guess we could also just set the cache dir in the actions yml. Do you know offhand where we can write? I suppose we could just do it in "." or "./temp"?

ateucher avatar Oct 26 '20 17:10 ateucher

Need to change memoisation pattern like here: https://github.com/r-lib/memoise/issues/76

ateucher avatar Oct 27 '20 01:10 ateucher