Re: [Rd] vignette checking woes

2015-03-26 Thread Roger Koenker
> On Mar 26, 2015, at 8:50 AM, Martyn Plummer wrote: > > On Wed, 2015-03-25 at 15:12 -0500, Roger Koenker wrote: >> Thierry, >> >> I have this: >> >> if (require(MatrixModels) && require(Matrix)) { >> X <- model.Matrix(Terms, m, contrasts, sparse = TRUE) > > You have this in the current rel

Re: [Rd] vignette checking woes

2015-03-26 Thread Martyn Plummer
On Wed, 2015-03-25 at 15:12 -0500, Roger Koenker wrote: > Thierry, > > I have this: > > if (require(MatrixModels) && require(Matrix)) { > X <- model.Matrix(Terms, m, contrasts, sparse = TRUE) You have this in the current release, which does not show this problem in the CRAN tests. This, an

Re: [Rd] vignette checking woes

2015-03-25 Thread Thierry Onkelinx
I think that you need to check how MatrixModels imports sparse.model.matrix(). If MatrixModels depends on Matrix, then you are probably forced to depend on MatrixModels. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwalitei

Re: [Rd] vignette checking woes

2015-03-25 Thread Roger Koenker
Thierry, I have this: if (require(MatrixModels) && require(Matrix)) { X <- model.Matrix(Terms, m, contrasts, sparse = TRUE) in my function rqss() I've tried variants of requireNamespace too without success. If I understand properly model.Matrix is from MatrixModels but it calls sparse.m

Re: [Rd] vignette checking woes

2015-03-25 Thread Thierry Onkelinx
Dear Roger, How is Matrix loaded? If you use sparse.model.matrix() inside a function from your package you need to declare it as Matrix::sparse.model.matrix() Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kw

Re: [Rd] vignette checking woes

2015-03-25 Thread Duncan Murdoch
On 25/03/2015 2:59 PM, Roger Koenker wrote: I'm having trouble with R CMD check of my quantreg package. All is well until I get to: checking running R code from vignettes ... ‘rq.Rnw’ ... failed ERROR Errors in running code in vignettes: when running code in ‘rq.Rnw’ when I see a snippet

[Rd] vignette checking woes

2015-03-25 Thread Roger Koenker
I'm having trouble with R CMD check of my quantreg package. All is well until I get to: checking running R code from vignettes ... ‘rq.Rnw’ ... failed ERROR Errors in running code in vignettes: when running code in ‘rq.Rnw’ when I see a snippet from the vignette code and then: Loading req