In-session caching
WIP. Closes #4 when complete
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
And in case this saves having to look this up, there is an env variable accessible by Sys.getenv("GITHUB_ACTIONS")
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"?
Need to change memoisation pattern like here: https://github.com/r-lib/memoise/issues/76