eddelbuettel / r2u

CRAN as Ubuntu Binaries

Home Page:https://eddelbuettel.github.io/r2u

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RQuantLib is uninstallable on r2u:jammy

eddelbuettel opened this issue · comments

Reported via toot by Dave Vanness a few hours ago.

Confirmed on my 23.04 laptop accessing r2u:22.04.

The culprit is the inclusion of my very own PPA which lets the most current QuantLib library seep in during build time but then during run-time we do not have the same library -- boom. Uninstallable. QuantLib being complicated adding the PPA to the run-time will likely not help as the underlying binary build is from the LTS release 22.04. So a better fix is likely to just turn off the PPA use which I shall try next.

This is now taken care of:

$ docker run --rm -ti rocker/r2u:jammy 
root@[randomstring]:/\# Rscript -e 'install.packages("RQuantLib")'
[....lines omitted...]
Setting up r-cran-rquantlib (0.4.18-1.ca2204.2) ...    # note the .2: updated binary
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
root@[randomstring]:/\# R
[...]
> library(RQuantLib)
RQuantLib 0.4.18 built with QuantLib version 1.25. See https://www.quantlib.org for more on QuantLib.
> 

Amazing - thank you. I don't know how you get all of this done.