Re: [Rd] check does not check that package examples remove tempdir()

2017-11-10 Thread Jeroen Ooms
On Thu, Nov 9, 2017 at 1:43 AM, William Dunlap via R-devel 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 > tem

Re: [Rd] check does not check that package examples remove tempdir()

2017-11-10 Thread Tomas Kalibera
Please note there is parallel::mcparallel/mccollect in R which provides similar functionality, mcparallel starts a new job and mccollect allows to wait for it. You are right about _exit, but there are additional issues which cannot be solved independently in an external package, and, such a lo