[Rd] readBin/writeBin (was Buffering in R 3.5, ref WURVX1BEBiQLAlteFVdEVFFbFQFIAF1f)

2018-05-30 Thread Tomas Kalibera
A small note: while working on this I realized that readBin/writeBin documentation was still saying that these functions, even though not intended for text connections, _may_ work with them. But with readBin/writeBin there is always a runtime error when invoked on a text connection, so I update

Re: [Rd] CRAN checks give errors when no tests are included

2018-05-30 Thread Joris Meys
Never mind my previous mail. It was his local check, not CRAN. My apologies for not paying enough attention. Cheers Joris On Wed, May 30, 2018 at 5:33 PM, Joris Meys wrote: > Dear all, > > as a follow-up to the question asked on R-package-devel (see link below): > > Someone sent a package to CRA

[Rd] CRAN checks give errors when no tests are included

2018-05-30 Thread Joris Meys
Dear all, as a follow-up to the question asked on R-package-devel (see link below): Someone sent a package to CRAN with a few problems. There's more things wrong with the submission, but one thing that really caught my eye was the following error: Warning message: running command '"C:/PROGRA~1/R

Re: [Rd] Buffering in R 3.5 connections causes incorrect data in readChar

2018-05-30 Thread Tomas Kalibera
For now I have added a warning that is issued (only) when there is definitely a problem (currently a read buffer, a pushback buffer or encoding conversion of the input). And I have added a similar warning for writing when there is encoding conversion of the output (writeChar). But, as you say,

Re: [Rd] Quartz graphic device can be extremely slow in some cases

2018-05-30 Thread Juan Telleria Ruiz de Aguirre
It might be related with this files: https://github.com/wch/r-source/blob/trunk/src/library/grDevices/src/devQuartz.c https://github.com/wch/r-source/blob/trunk/src/include/R_ext/QuartzDevice.h Could we port some of the UNIX optimizations to previous code? https://github.com/wch/r-source/blob/t