What to do about "Error: package XX was built before R 3.0.0"
cboettig opened this issue · comments
I'm getting a lot of errors like this one, sounds like r-travis isn't using the most recent cran mirrors for the distribution or something?
** preparing package for lazy loading
Error : package ‘lattice’ was built before R 3.0.0: please re-install it
ERROR: lazy loading failed for package ‘sp’
See the full travis report here (linked to one of the lines with this error)
https://travis-ci.org/ropensci/RNeXML/builds/20305589#L1278
Any ideas what I'm doing wrong or how to work around this?
hi carl,
so i think the problem is just an order of evaluation one: i think you're asking it to install the lattice package before the bootstrap call. that bootstrap call is the one that sets up the appropriate mirrors and PPAs to get fresh R binaries.
- if my guess is right, you should be able to add back
rrdf
to theSuggests
, and move thebootstrap
call up in your.travis.yml
and still have things work. do let me know if you get a chance to try (or i'll try if i get time soon). - if that is the right thing to do, we should also probably force an upgrade of all packages once we add our new apt repos in
bootstrap
.
ok @cboettig, i think the ordering thing was the issue -- i've sent a pull request with some changes. to be clear, i have basically no idea what RNeXML
is supposed to be doing, so if any/all of the changes outside .travis.yml
are misguided, i'm happy to modify or strip them out. ;)
ver nice, thanks!
On Sun, Mar 9, 2014 at 10:58 PM, Craig Citro notifications@github.comwrote:
ok @cboettig https://github.com/cboettig, i think the ordering thing
was the issue -- i've sent a pull requesthttps://github.com/ropensci/RNeXML/pull/57with some changes. to be clear, i have basically no idea what
RNeXML is supposed to be doing, so if any/all of the changes outside
.travis.yml are misguided, i'm happy to modify or strip them out. ;)Reply to this email directly or view it on GitHubhttps://github.com//issues/104#issuecomment-37155303
.
Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/
score -- i'll add a warning to the wiki and close this.