Re: [Rd] Change to I() in R 4.1

2020-10-30 Thread Pages, Herve
On 10/29/20 23:08, Pages, Herve wrote: ... > > I can think of 2 ways to move forward: > > 1. Keep I()'s current implementation but suppress the warning. We'll > make the necessary adjustments to DataFrame() to repair columns supplied > as I() objects. Note that we would still be in the situation

Re: [Rd] Change to I() in R 4.1

2020-10-29 Thread Pages, Herve
Hi Martin, On 10/26/20 04:52, Martin Maechler wrote: >> >> Hi there, >> Is that change in R-devel intentional? >> >> library(Matrix) >> m <- as(matrix(c(0, 1)), "sparseMatrix") >> >> isS4(m) >> # [1] TRUE >> >> x <- I(m) >> # Warning message: >> # In `class<-`(x, unique

Re: [Rd] Change to I() in R 4.1

2020-10-26 Thread Martin Maechler
> > Hi there, > Is that change in R-devel intentional? > >library(Matrix) >m <- as(matrix(c(0, 1)), "sparseMatrix") > >isS4(m) ># [1] TRUE > >x <- I(m) ># Warning message: ># In `class<-`(x, unique.default(c("AsIs", oldClass(x : ># Setting class(x) to multi

[Rd] Change to I() in R 4.1

2020-10-23 Thread Pages, Herve
Hi there, Is that change in R-devel intentional? library(Matrix) m <- as(matrix(c(0, 1)), "sparseMatrix") isS4(m) # [1] TRUE x <- I(m) # Warning message: # In `class<-`(x, unique.default(c("AsIs", oldClass(x : # Setting class(x) to multiple strings ("AsIs", "dgCMat