Re: [Rd] Very hard to reproduce bug (?) in R-devel

2017-04-03 Thread Winston Chang
Small correction to my previous email: the error can also be replicated by installing the package and then sourcing the tests. This is slightly faster than running R CMD check. It is also how we ran the tests with gdb. This will run the tests in a Docker container and raise the same error. (To run

[Rd] Very hard to reproduce bug (?) in R-devel

2017-04-03 Thread Winston Chang
When running R CMD check on a package, we are encountering an error on R-devel (as of 72457) on Linux. Unfortunately, it is very hard to reproduce, and almost any change to the code makes the error go away. I believe that this is due to a bug in R-devel, which has been present since at least commit

Re: [Rd] complex NA's match(), etc: not back-compatible change proposal

2017-04-03 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sat, 1 Apr 2017 14:10:06 + writes: > I am raising this again. > With > z <- complex(real = c(0,NaN,NaN), imaginary = c(NA,NA,0)) , > results of > sapply(z, match, table = z) > and > mat

Re: [Rd] Potential bug in utils::citation()

2017-04-03 Thread Martin Maechler
> Zhian Kamvar > on Sun, 2 Apr 2017 16:26:37 -0500 writes: > Hi, I believe the function utils::citation() will fail if > the package specified has two or more citation entries in > the current R-devel. The following error is issued: > 'missing' can only be used for ar