Message-ID: <76AA671E-60B4-4E43-8DF1-859B73151FEC@usgs.gov>
Date: 2019-04-23T15:33:22Z
From: David Blodgett
Subject: [EXTERNAL] Re: [R-pkg-devel] CRAN Debian File Handling Differences?
In-Reply-To: <CALEXWq1uEtG-Y-bZ9EtJ=mDKGoo2U7mDXoep1WY_kpqEVBWaOQ@mail.gmail.com>
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 at fedoraproject.org> wrote:
>
> On Tue, 23 Apr 2019 at 17:24, David Blodgett <dblodgett at 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