Re: [R-pkg-devel] Saving provenance data to the file system

2017-08-28 Thread Uwe Ligges
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

Re: [R-pkg-devel] Saving provenance data to the file system

2017-08-25 Thread Jenny Bryan
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

[R-pkg-devel] Saving provenance data to the file system

2017-08-25 Thread Barbara Lerner
We are working on a package that collects provenance as an R script executes, saving the provenance to the file system. In reading the rules for submitting packages to CRAN, there is this rule: > Packages should not write in the users’ home filespace, nor anywhere > else on the file system apar