Christian Hennig
2013-Oct-29 13:17 UTC
[R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?
Hi there, I just updated my R to 3.0.2 and ran R CMD check --as-cran on the just produced new version of fpc. I got an error Error: package "MASS" was built before R 3.0.0: please re-install it - but I actually *did* re-install MASS without error just before that and within R library(MASS) works just fine. What can I do about this? Best wishes, Christian *** --- *** Christian Hennig University College London, Department of Statistical Science Gower St., London WC1E 6BT, phone +44 207 679 1698 c.hennig at ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche
Dirk Eddelbuettel
2013-Oct-29 15:11 UTC
[R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?
Christian Hennig <ucakche <at> ucl.ac.uk> writes:> I just updated my R to 3.0.2 and ran > R CMD check --as-cran on the just produced new version of fpc. > > I got an error > Error: package "MASS" was built before R 3.0.0: please re-install it > > - but I actually *did* re-install MASS without error just before that and > within R library(MASS) works just fine. > > What can I do about this?Look at .libPaths() and check the directories it lists for a different copy of MASS. Dirk
Jeff Newmiller
2013-Oct-29 15:12 UTC
[R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?
Perhaps check your R_LIBS* variables? http://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. Christian Hennig <ucakche at ucl.ac.uk> wrote:>Hi there, > >I just updated my R to 3.0.2 and ran >R CMD check --as-cran on the just produced new version of fpc. > >I got an error >Error: package "MASS" was built before R 3.0.0: please re-install it > >- but I actually *did* re-install MASS without error just before that >and >within R library(MASS) works just fine. > >What can I do about this? > >Best wishes, >Christian > >*** --- *** >Christian Hennig >University College London, Department of Statistical Science >Gower St., London WC1E 6BT, phone +44 207 679 1698 >c.hennig at ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche > >______________________________________________ >R-help at r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.