[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r-cran-projpred autopkgtest says: "Package "rstanarm" is needed for these tests. Please install it." - but it is installed



Hi Andreas,

> I tried to upgrade r-cran-projpred to its latest upstream version, but got:
> [...]
> Error: Package "rstanarm" is needed for these tests. Please install it.
> Execution halted
>
> (see Salsa CI: https://salsa.debian.org/r-pkg-team/r-cran-projpred/-/jobs/3141946#L578 )

If you look at the corresponding code closely, it tries to call rstanarm with
a `requireNamespace` call to check whether or not is is present, which tries
loading it (log at end of the mail)
rstanarm is broken[1] (in debian) and cannot be loaded because It needs rstan, which inturn need
stanheaders.

You are aware that stanheaders does not compile with openTBB. So, it all comes circling
down to the stanheaders port :-)
I don't think this package can be updated until this problem is fixed.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011222

| $ R -e "requireNamespace('rstanarm')"         
|
| R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
| Copyright (C) 2022 The R Foundation for Statistical Computing
| Platform: x86_64-pc-linux-gnu (64-bit)
|
| R is free software and comes with ABSOLUTELY NO WARRANTY.
| You are welcome to redistribute it under certain conditions.
| Type 'license()' or 'licence()' for distribution details.
|
|  Natural language support but running in an English locale
|
| R is a collaborative project with many contributors.
| Type 'contributors()' for more information and
| 'citation()' on how to cite R or R packages in publications.
|
| Type 'demo()' for some demos, 'help()' for on-line help, or
| 'help.start()' for an HTML browser interface to help.
| Type 'q()' to quit R.
|
| > requireNamespace('rstanarm')
| Loading required namespace: rstanarm
| Failed with error:  ‘unable to load shared object '/usr/lib/R/site-library/rstan/libs/rstan.so':
|  /usr/lib/R/site-library/rstan/libs/rstan.so: undefined symbol: _ZN3tbb8internal26task_scheduler_observer_v37observeEb’
| > 
| > 

-- 
Best,
Nilesh

Attachment: signature.asc
Description: PGP signature


Reply to: