[R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found
wdun|@p @end|ng |rom t|bco@com
Wed Apr 8 16:52:03 CEST 2020
% R-devel --vanilla --quiet
> 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 members "Matrix"
R Under development (unstable) (2020-04-07 r78175)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.6 LTS
Matrix products: default
 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
 LC_PAPER=en_US.UTF-8 LC_NAME=C
 LC_ADDRESS=C LC_TELEPHONE=C
 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
loaded via a namespace (and not attached):
 compiler_4.1.0 grid_4.1.0 lattice_0.20-41
On Wed, Apr 8, 2020 at 7:35 AM Martin Maechler <maechler using stat.math.ethz.ch>
> >>>>> renozao
> >>>>> on Mon, 30 Mar 2020 21:20:43 +0000 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
> > Error in setClassUnion("mMatrix", c("Matrix", "matrix")) :
> > unable to create union class: could not set members "Matrix"
> > This does not happen on R 3.6.3.
> > I tried with Matrix listed in Depends but I still get the same error.
> > Is this linked to some changes in union classes or the Matrix
> > Thank you.
> > Bests,
> > Renaud
> Hi Renaud,
> One reason you got no response here, is because we don't even
> know about which package you are talking.
> So there's nothing, anybody can reproduce from your posting.
> There have been changes in R's dealing with class unions etc,
> notably even *relating* to an earlier bug report on class unions
> exactly for such a case which was *triggered* when people built
> on such Matrix classes.
> But we would really want to be able to reproduce what you are seeing..
> Best regards,
> Martin Maechler
> ETH Zurich, R Core Team *and* maintainer("Matrix")
> R-package-devel using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-package-devel