Re: [Rd] Rscript Bug Report (improper parsing of [args])

2017-11-08 Thread Tomas Kalibera
Thanks for the report, fixed in R-devel. Tomas On 10/20/2017 08:09 PM, Trevor Davis wrote: Hi, A user of my `optparse` package discovered a bug in Rscript's parsing of [args]. (https://github.com/trevorld/optparse/issues/24) I've reproduced the bug on my machine including compiling and checkin

[Rd] Default for bin limits in hist()

2017-11-08 Thread Jose G Conde Santiago via R-devel
Hello all. I noticed that the default setting for breaks in the construction of histograms in hist() is “right = TRUE”. I think “right=FALSE” would be more consistent with usual definitions of lower and upper limits for bins in applied statistics, and I suggest that you consider making it the

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

2017-11-08 Thread William Dunlap via R-devel
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

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

2017-11-08 Thread Henrik Bengtsson
Related to this problem - from R-devel NEWS (https://cran.r-project.org/doc/manuals/r-devel/NEWS.html): * tempdir(check = TRUE) recreates the tmpdir() if it is no longer valid (e.g. because some other process has cleaned up the ‘/tmp’ directory). Not sure if there's a plan to make check = TRUE th

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

2017-11-08 Thread William Dunlap via R-devel
I think recreating tempdir() is ok in an emergency situation, but package code should not be removing tempdir() - it may contain important information. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Nov 8, 2017 at 4:55 PM, Henrik Bengtsson wrote: > Related to this problem - from R-devel N