Re: [R-pkg-devel] vignette error in debian

2019-11-28 Thread Sebastian Meyer
This is most likely related to the recently changed class of matrices. R> class(matrix(1)) returned "matrix" but will return c("matrix", "array") in future versions of R. See the corresponding item in the R-devel NEWS https://stat.ethz.ch/R-manual/R-devel/doc/html/NEWS.html To reproduce the err

Re: [R-pkg-devel] R CMD check: Titles in README

2019-11-28 Thread Uwe Ligges
We had to install the most recent pandoc release as the old failed for the recent texlive release with rmarkdown. Apparently pandoc gives a different error message for empty titles now. The simplest solution would be to provide a proper title anyway. Best, Uwe Ligges On 27.11.2019 22:33, B

Re: [R-pkg-devel] Compiler warning using C versions of base R integrate function

2019-11-28 Thread Tomas Kalibera
On 11/21/19 7:25 PM, Devin Incerti wrote: Hi, I'm attempting to submit a very minor update to my package where I replaced a deprecated C++ function with an alternative. However, I'm receiving an unrelated warning "*array subscript -1 is outside array bounds of ‘double [52]’ [-Warray-bounds] *" o

Re: [R-pkg-devel] vignette error in debian

2019-11-28 Thread Fernando Roa
Thx Sebastian I set _R_CLASS_MATRIX_ARRAY_ to true in console and also in onLoad, but could not replicate the error in console. In addition, setting _R_CLASS_MATRIX_ARRAY_ to "" in onLoad did not solve the problem while checking as cran. I do not understand how the values I got from the debug prin

Re: [R-pkg-devel] vignette error in debian

2019-11-28 Thread Sebastian Meyer
I was able to reproduce the vignette error in an R-devel session with this environment variable set. It came from a strange polygon() call with x and y arguments being matrices with list elements. I cannot test at the moment. Maybe you condition on class(something) == "matrix" somewhere in your

Re: [R-pkg-devel] vignette error in debian

2019-11-28 Thread Sebastian Meyer
I forgot to mention: the code that you pasted in the email does not reproduce the error. The vignette actually runs different code. You need to run the code from the vignette to see the error (with the environment variable set). Cheers, Sebastian Am 28. November 2019 18:16:12 MEZ schrieb Sebast

Re: [R-pkg-devel] vignette error in debian

2019-11-28 Thread Fernando Roa
This was exactly what needed to be done. (inherits in conditional) Thank you , Issue Closed. Best, On Thu, Nov 28, 2019 at 12:16 PM Sebastian Meyer wrote: > I was able to reproduce the vignette error in an R-devel session with this > environment variable set. It came from a strange polygon() ca