Build can't find r-cran-xxx binaries

@davidorme Searching http://ppa.launchpad.net/marutter/rrutter4.0/ubuntu/dists/bionic/main/binary-amd64/Packages.gz and http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu/dists/bionic/main/binary-amd64/Packages.gz for “Package: r-cran-”, neither has r-cran-pkgdown.

Yup. That’s what I’m seeing too. Looking back at logs from when I was using r-binary-packages in my .travis.yml, the build process was mostly getting binaries from the cran2deb4ubuntu repository, as you’ve pointed out.

For example in here from about line 1193 in the log:

It may be that this was just a passing option and using source packages is fine though! I just wondered if I was missing some official route to use binary packages and cut down on build time. I know that matters less if caching is being used.

Ah. OK - I’d assumed that this was all binary packages and that turns out to be incorrect.

It looks like that cran2debian4ubuntu repo has binaries for a large number of CRAN packages, but not all, including pkgdown. It also turns out that installing pkgdown and dependencies now needs some extra apt libraries for the textshaping package.

I ran a test with a new .travis.yml including a single example binary package that does appear in the c2d4u repo, and that has now worked. So, this is now resolved - it is just the fiddly business of checking which binary packages are available.

1 Like