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

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 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 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
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] vignette error in debian

2019-11-27 Thread Fernando Roa
After Ege answer, I could replicate the error(s): list' object cannot be coerced to type 'double' with CMD check: bash R-devel.sh CMD check --as-cran idiogramFISH_1.9.1.tar.gz in a vmware debian guest with the r-devel (4.0) version of R installed after: http://singmann.org/installing-r-devel-on-li

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

2019-11-27 Thread Ege Rubak
On 27/11/2019 00.22, Fernando Roa wrote: - I used a guest debian 10 in vmware in my system, and couldn't replicate the error installing with R CMD INSTALL I guess you should rather run "R CMD check ..." on the tar.gz file to reproduce the error. Hope that helps. /Ege _

[R-pkg-devel] vignette error in debian

2019-11-27 Thread Fernando Roa
I got a warning only in debian after submitting package to CRAN. I want to replicate the vignette warning of debian in the following link to solve it: Debian: https://win-builder.r-project.org/incoming_pretest/idiogramFISH_1.9.1_20191126_012524/Debian/00check.log 1 WARNING Warning summary: "check