[Rd] check does not check that package examples remove tempdir()
jeroenooms at gmail.com
Fri Nov 10 16:19:37 CET 2017
On Thu, Nov 9, 2017 at 1:43 AM, William Dunlap via R-devel
<r-devel at r-project.org> wrote:
> I was looking at the CRAN package 'bfork-0.1.2', which exposes the Unix
> fork() and waitpid() calls at the R code level, and noticed that the help
> file example for bfork::fork removes R's temporary directory, the value of
> tempdir(). I think it happens because the forked process shares the value
> of tempdir() with the parent process and removes it when it exits.
This has come up a few times:
You may want to read up on the latter discussion.
More information about the R-devel