r-base 4.5.1 and r-irkernel

I am trying to use mamba in a Docker image to install r-base and r-irkernel alongside Jupyter. Currently, it works for r-base 4.4.3 and r-irkernel 1.3.2 but upgrading to r-base 4.5.1 fails.

14.84 error    libmamba Could not solve for environment specs
14.84     The following packages are incompatible
14.84     ├─ r-base ==4.5.1 * is requested and can be installed;
14.84     └─ r-irkernel ==1.3.2 * is not installable because there are no viable options
14.84        ├─ r-irkernel 1.3.2 would require
14.84        │  └─ r-base >=4.1,<4.2.0a0 *, which conflicts with any installable versions previously reported;
14.84        ├─ r-irkernel 1.3.2 would require
14.84        │  └─ r-base >=4.2,<4.3.0a0 *, which conflicts with any installable versions previously reported;
14.84        ├─ r-irkernel 1.3.2 would require
14.84        │  └─ r-base >=4.3,<4.4.0a0 *, which conflicts with any installable versions previously reported;
14.84        └─ r-irkernel 1.3.2 would require
14.84           └─ r-base >=4.4,<4.5.0a0 *, which conflicts with any installable versions previously reported.
14.86 critical libmamba Could not solve for environment specs

I reached out to r-irkernel and they think it is a Conda issue - r-base 4.5.1 support · Issue #750 · IRkernel/IRkernel · GitHub

The docker and install.sh can be found here -

Any suggestions on how to fix this would be greatly appreciated

Looks like you found the right place to raise the issue :grin:

1 Like