Closed ck37 closed 7 years ago
Well, after all that work apparently there is a setting in travis to do revdep checks. To be tried once Travis is working again.
Env variable example: https://travis-ci.org/ggobi/ggally/jobs/47031033/config
Alternatively crandalf might help: https://github.com/yihui/crandalf
Ok it took some finagling, but this is now working.
Here is some initial work to integrate reverse dependency testing into the CI system per #84 . It is set to run if an environmental variable SL_CRAN is set in Travis or Appveyor, so typically that would be done after a commit and the commit would then be rebuilt.
Unfortunately I haven't been able to get it working on Appveyor and Travis has been broken all day, but the test file can be run on a local computer just fine to help with CRAN releases (and everything passes). It may require a lot more digging into the CI build systems & revdep code, and I haven't found any other packages that do it. Right now it's erroring during revdep testing while trying to install SuperLearner: https://ci.appveyor.com/project/ck37/superlearner/build/1.0.167/job/66k87xxb0a8sor37#L525
The issue may stem from running revdep within a testthat call (within devtools::check) for the package. Another approach would be to have a revdep check run after the normal package testing, which is what I initially tried but couldn't figure out how to get it close to working.