Re: [Rd] Matrix package breaks as.matrix method

2017-01-30 Thread Robert McGehee
ing up and importing only stuff that you need. Best regards, Georgi Boshnakov -- Message: 15 Date: Fri, 27 Jan 2017 22:41:10 + From: Robert McGehee To: "r-devel@r-project.org" Subject: [Rd] Matrix package breaks as.matrix method Message-ID: &l

[Rd] Matrix package breaks as.matrix method

2017-01-27 Thread Robert McGehee
Hi, The Matrix package and the as.matrix method do not seem to be compatible inside of a package. Here's an example. I've created a simple package "mat" that defines an eponymous class and as.matrix method on that class. All is well, unless that package has the Matrix package in its Depends or