I'm having some trouble with travis builds of a package (local checks work fine) and hoping if I can get suggestions for diagnosis & troubleshooting ...
The package is 'broom.mixed'; I hadn't changed it in a while, but recently got a minor pull request which seemed reasonable. I believe the problems I'm having now are dependency and/or caching problems, not actually related to the changes in the package. The failing build is here https://travis-ci.org/bbolker/broom.mixed/builds/567597217 The initial tests of the PR failed, I think because rstan took too long to compile. So I added some code to install rstan binaries from a PPA instead of compiling it on the spot: https://github.com/bbolker/broom.mixed/blob/master/.travis.yml#L32-L34 (thanks to various resources Dirk Eddelbuettel has written). I got more errors (described below) that I thought were caused by package caching, but clearing the Travis cache <https://docs.travis-ci.com/user/caching/#clearing-caches> doesn't seem to have helped; now I'm afraid that they're due to a mismatch between the R configuration in Michael Rutter's cd24u repo and the configuration on Travis ... ? Any suggestions for what to look at? My travis skills are definitely cargo-culty, so please be gentle if you look at my .travis.yml file (feel free to suggest/explain improvements!) Ben Bolker --- --- [installing ggstance, ggridges, lmerTest] Error: package "scales" was installed by an R version with different internals; it needs to be reinstalled for use with this R version Execution halted [installing htmlwidgets] Failed with error: "there is no package called "shiny" [running examples] Error: package "fansi" was installed by an R version with different internals; it needs to be reinstalled for use with this R version Execution halted ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel