I am trying to run this build, which succeeds on a topic branch, but not on the master branch for some reason. I tried to find ways to speed up the build, but I haven’t been able to find any way to speed up the R CMD check --as-cran part, which seems to be the main culprit.
The reason why I tried to customize the build in the first place was to be able to add travis_wait somewhere. Originally, the build looked like this build , just the additional apt packages and using stock options, but I don’t know where to insert travis_wait in that scenario.
The other issue is that a build with the same config succeeds in one branch, but not the other, and I don’t see where/how they might differ (maybe some branch specific caching I am missing?). So for example this build and this build have the same config, but 147 (which is on master) fails. I do understand that the deploy behavior would be different, but I don’t see from the build log that the deploy phase is the part where it breaks down.
I would be grateful for any suggestions. Thank you.
Thank you for the response. That is even weirder because I did have those C header files in the config.. Is it possible that the apt_packages key is not run in order (so those packages are not dowloaded?) or I have some other error in the yaml file?
Looking at your commands, you don’t really need the before_install: and install: keys in your configuration because the stock logic would already do all that.
In other words, a fix for you will be to remove them.
Look for other differences (diffing the raw logs with WinMerge proved helpful for me). Package cache is the primary suspect: the tests may be hanging with some older package versions.