[R-pkg-team] Bug#1108078: Bug#1108078: r-cran-bh: fails hard with 'Boost not found'
Charles Plessy
plessy at debian.org
Fri Jun 20 23:26:38 BST 2025
Control: retitle -1 r-cran-rstan: fails hard with 'Boost not found'
Control: tag -1 + patch
Thanks Michael and Dirk for the fix,
Just a quick comment for users who might be impacted before the stable
update:
Le Fri, Jun 20, 2025 at 07:51:17PM +0200, Michael Prokop a écrit :
>+- if (!file.exists(rstan_options("boost_lib")))
>+- stop("Boost not found; call install.packages('BH')")
>++# if (!file.exists(rstan_options("boost_lib")))
>++# stop("Boost not found; call install.packages('BH')")
So setting `boost_lib` at runtime to an arbitrary existing file or path
also prevents rstan from stopping, like with:
rstan_options("boost_lib" = '.')
It is surprising that rstan never worked and we never noticed until this
week. It is possible that we ship it merly because it is listed in the
Suggest field of the DESCRIPTION file of other R packages. Often this
is because it is needed in the other package's unit tests, which makes
it strictly required for us, but sometimes it is only because some
optional support for it is provided by the other package, leading to
cases like this one.
Have a nice day,
Charles
--
Charles Plessy Nagahama, Yomitan, Okinawa, Japan
Debian Med packaging team http://www.debian.org/devel/debian-med
Tooting from work, https://fediscience.org/@charles_plessy
Tooting from home, https://framapiaf.org/@charles_plessy
More information about the R-pkg-team
mailing list