[EXTERNAL] Re: [R-pkg-devel] CRAN Debian File Handling Differences?
David Blodgett
db|odgett @end|ng |rom u@g@@gov
Tue Apr 23 17:33:22 CEST 2019
I see. Thank you for the clarification. I did not realize this applied to testing as well as package functionality.
> On Apr 23, 2019, at 10:28 AM, Iñaki Ucar <iucar using fedoraproject.org> wrote:
>
> On Tue, 23 Apr 2019 at 17:24, David Blodgett <dblodgett using usgs.gov> wrote:
>>
>> OK. Thank you. I'm always nervous about closing and re-opening a tempfile() but I suppose it is safe.
>>
>> Should I interpret your response as saying that creating and mutating files in "tests/testthat/data" is not possible on CRAN?
>
> From CRAN Repository Policy:
>
> - Packages should not write in the user’s home filespace (including
> clipboards), nor anywhere else on the file system apart from the R
> session’s temporary directory (or during installation in the location
> pointed to by TMPDIR: and such usage should be cleaned up).
>
> --
> Iñaki Úcar
More information about the R-package-devel
mailing list