My R package has stopped building because it can’t find r-cran-xxx binaries in both r-stable and r-devel. Looking at the log, the PPA ppa:marutter/rrutter4.0 is being added but none of the the list of packages I’ve put under r-binary-packages are found. For example:
From earlier builds, it looks like source R packages (r_packages) get installed after binary ones (r_binary_packages), so it looks like adding devtools is downstream of the issue?
Aha. In previous builds (before R 4.0), I think all the r-cran-xxx binaries were coming from the first PPA in the build list (ppa:marutter/rrutter3.5). That has been replaced by a new PPA (ppa:marutter/rrutter4.0) which seems to have many fewer packages available. If those packages have been moved to Ubuntu stock in Bionic, then that fits - using the new version of R on the older Ubuntu version leaves a gap.
It seems like the default dist setting is Xenial, so I think I need to add dist: bionic to my config to fix this.
Ah. Same as this issue, I think. Everything has shifted to 4.0 and the PPA isn’t populated yet. It seems like I can wait for the binaries or shift to source packages (assuming I can’t get bionic).
Also, I’ve checked the build details from another recent question that mentioned bionic and that also specifies dist: bionic but gets Xenial:
I am now getting bionic correctly, which is great, but that still isn’t resolving the original problem with the lack of binary packages. I’ve just tried reverting to my original config (a handful of source installs and a long list of binary packages) and it fails to find the binaries.
It is successfully adding the marutter repo, which used to provide a long list of binary packages:
However, as earlier, this now only provides a small set of binary packages prebuilt. I’d been using binaries because they are faster to install - I guess I can revert to building from source, but am I missing something to configure binary package installations?
@jeroen@jimhester A wide selection of binary R packages used to be available from ppa:marutter/rrutter. Are these packages planned to come back? My builds have been broken since May (example).
It’s better to avoid the r-cran-xyz packages on travis, and just install them from source. The problem with the r-cran binaries is that they only work for the latest version of R, whereas on Travis you can pick any R version.
The problem is that Travis has a time limit of something like 45 minutes. Some packages have a lot of dependencies that can take a long time to install.
I guess what you’re saying is that I don’t have a choice? r-cran-xyz packages aren’t coming back?