Binder failing to build when using apt.txt for R package dependencies

Some repos that I have been using previously now won’t build due to this error

I use Binder with a mix of Python and R in notebooks and RStudio. In the past I have used a combination of environment.yml (Python dependencies) with install.R + runtime.txt + apt.txt (R dependencies). Now the repos fail to build on Binder when the apt.txt is present, so packages like {rgdal} / {highcharter} do not work.

You can see a slim version of the issue here:

If I don’t include apt.txt then the repo will build but I won’t be able to use {highcharter} (or install it)

Thanks for reporting and providing a clear explanation, it’s a bug introduced in a recent PR

1 Like

The fix has been deployed to mybinder.org, so this should be working again.

3 Likes