Message-ID: <c16a5df8-f31a-33da-463d-640420909197@gmail.com>
Date: 2020-04-16T18:09:19Z
From: Duncan Murdoch
Subject: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN
In-Reply-To: <CAJ+nqZ6f_8SBf3mm4xF13+GF4pJJmW6qfhAqLO5-i5nZ=3EpGA@mail.gmail.com>
On 16/04/2020 1:11 p.m., David Andres Zamora Avila wrote:
> Hi,
>
> I submitted my package in CRAN and always appearance the next NOTE.
>
> Flavor: r-devel-linux-x86_64-debian-gcc
> Check: for detritus in the temp directory, Result: NOTE
> Found the following files/directories:
> 'RtmpcDoRWjr.nc'
>
> I have tried to solve it in several ways (like if(interactive()), but I not
> sure how can I solve it.
How was the file created? What the check wants is that you delete it
when you are finished with it. You can use the unlink() function to do
that.
Duncan Murdoch