Skip to content

vignette checking woes

3 messages · Roger Koenker, Thierry Onkelinx, Martyn Plummer

#
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.model.matrix which is part of Matrix, and it is the latter function that I'm
not finding.  Maybe I should go back to the requireNamespace strategy again?

Roger

url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Urbana, IL 61801
#
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 & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-03-25 21:12 GMT+01:00 Roger Koenker <rkoenker at illinois.edu>:

  
  
#
On Wed, 2015-03-25 at 15:12 -0500, Roger Koenker wrote:
You have this in the current release, which does not show this problem
in the CRAN tests. This, and the fact that you can build the vignette
manually, suggests that there is a problem with your checking
environment.

Did you set up a special checking environment in ~/.R/check.Renviron ?
Does it set R_LIBS?

Martyn