rstudio / bundle

Prepare objects for serialization with a consistent interface
https://rstudio.github.io/bundle/
Other
27 stars 4 forks source link

Use local tempfiles from withr #42

Closed juliasilge closed 2 years ago

juliasilge commented 2 years ago

The functions in withr for temp files and temp directories clean up after themselves, which is what we are looking for. It's a low dependency package that we now use across multiple bundling methods, so let's move it to Imports.

juliasilge commented 2 years ago

We could use withr::defer() for the torch bundler but it wouldn't really change or improve it that much.

juliasilge commented 2 years ago

Addresses #40