Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-08 Thread renozao
Thank you William for the reproducible example. Currently I using the following (same as in William's example): setClassUnion("mMatrix", c("Matrix", "matrix")) Martin, are the changes made in the union class handling affecting the way we should declare them? Thank you. Bests, Renaud ‐‐‐ Or

Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-08 Thread William Dunlap
% R-devel --vanilla --quiet > library(Matrix) > setClassUnion("mMatrix", c("Matrix", "matrix")) Error in get(cname, envir = cwhere, inherits = FALSE) : object '.__C__compMatrix' not found Error in setClassUnion("mMatrix", c("Matrix", "matrix")) : unable to create union class: could not set mem

Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-08 Thread William Dunlap
Use trace() to get a bit more detail - .__C_compMatrix is looked for in the wrong environment with inherits=FALSE. > setClassUnion("mMatrix", c("Matrix", "matrix")) Tracing get(name, envir = env) on entry x=".AllMTable", envir="", topenv="", inherits=TRUE Tracing get(name, envir = env) on entr

Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-08 Thread Martin Maechler
> renozao > on Mon, 30 Mar 2020 21:20:43 + writes: > Hi, > when R CMD check is run under R-devel (2020-03-29 r78108) I get the following error at installation: > Error in get(cname, envir = cwhere, inherits = FALSE) : > object ‘.__C__compMatrix’ not found >

Re: [R-pkg-devel] Errors in r-devel (Linux) and r-patched (Solaris)

2020-04-08 Thread Helmut Schütz
Dear Sebastian, Sebastian Meyer wrote on 2020-04-08 14:15: Do both of your R installations use the same version of lme4 ? THX, good point! On R3.6.2 I have lme4 1.1-21 (2019-03-05) and on R3.6.3 indeed yesterday's lme4 1.1-23. A new lme4 version has been published on CRAN yesterday and som

Re: [R-pkg-devel] Errors in r-devel (Linux) and r-patched (Solaris)

2020-04-08 Thread Sebastian Meyer
Do both of your R installations use the same version of lme4 ? A new lme4 version has been published on CRAN yesterday and some changes regarding default numerical tolerances in optimizations could explain the difference in your results. See the NEWS here: https://cran.r-project.org/web/packages/l

[R-pkg-devel] Errors in r-devel (Linux) and r-patched (Solaris)

2020-04-08 Thread Helmut Schütz
Dear all, I was notified about errors: https://cran.r-project.org/web/checks/check_results_replicateBE.html Since I don't have access to those operating systems, I'm a little bit lost. Here is what I get with 64bit R on Windows: library(replicateBE) x <- method.B(details = TRUE, print = FALSE,