Can't you do it as, e.g. write.table() writes files: Simply require a
filename from the user, then you are on the save side. And in your
examples / tests, write to some tempfile().
Best,
Uwe Ligges
On 25.08.2017 21:11, Jenny Bryan wrote:
I can't comment on the specific intersection of your
I can't comment on the specific intersection of your plans and CRAN's rules, but
note that you might want to check out the rappdirs package (already on CRAN
and imported by some other packages) as a possible helper for whatever you
decide to do.
https://cran.r-project.org/package=rappdirs
-- Jenn