> Gabe Becker
> on Tue, 3 Apr 2018 21:16:12 -0700 writes:
> Martin et al,
> I have submitted a patch on bugzilla which fixes all of the examples I
> could easily find which were not already writing only to temporary files
or
> switching to a temp directory before writ
Martin et al,
I have submitted a patch on bugzilla which fixes all of the examples I
could easily find which were not already writing only to temporary files or
switching to a temp directory before writing files to the working
directory. https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17403
P
> Henrik Bengtsson
> on Fri, 30 Mar 2018 10:14:04 -0700 writes:
> So, the proposal would then be to write to tempdir(),
> correct? If so, I see three alternatives:
> 1. explicitly use file.path(tempdir(), filename), or
> tempfile() everywhere.
I think it should clea
So, the proposal would then be to write to tempdir(), correct? If so,
I see three alternatives:
1. explicitly use file.path(tempdir(), filename), or tempfile() everywhere.
2. wrap example code in a withTempDir({ ... }) call.
3. Add an 'eval.path' (*) argument to example() and make it default to
On 30.03.2018 00:08, Duncan Murdoch wrote:
On 29/03/2018 5:23 PM, Hadley Wickham wrote:
Hi all,
Given the recent CRAN push to prevent examples writing to the working
directory, is there any interest in fixing base R examples that write
to the working directory? A few candidates are the graphi
On 29/03/2018 5:23 PM, Hadley Wickham wrote:
Hi all,
Given the recent CRAN push to prevent examples writing to the working
directory, is there any interest in fixing base R examples that write
to the working directory? A few candidates are the graphics devices,
file.create(), writeBin(), writeCh