Novartis / RBesT

Tool-set to support Bayesian evidence synthesis in R
https://opensource.nibr.com/RBesT/
GNU General Public License v3.0
19 stars 2 forks source link

Installation issue on Ubuntu 22.04 #7

Closed maxbiostat closed 1 year ago

maxbiostat commented 1 year ago

This one is a bit of a headscratcher. I have two machines, one running Pop!_OS and another running Ubuntu 22.04 LTS. I could get RBesT installed on the former, but not on the latter. Running

remotes::install_github("Novartis/RBesT")

gives the associated log on the Ubuntu system. Same happens with

install.packages("RBesT")

Heres some more (possibly relevant) information

PopOS

R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Pop!_OS 22.04 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8    
 [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.2
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Ubuntu

R version 4.2.1 (2022-06-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=pt_BR.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=pt_BR.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=pt_BR.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=pt_BR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.1
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm sure there must something else you need to know to possibly fix this, so please do let me know.

wds15 commented 1 year ago

Sorry for the trouble. Could you try out

remotes::install_github("weberse2/RBesT")

This should install a not yet released 1.6-6 version of RBesT, which avoids the use of C++17 as this triggered an issue on CRAN (and from looking at your logs there is a real chance this sorts this issue). That version is not yet released to CRAN. This version will stick with C++14. In case that does the trick, then you can use 1.6-4 from CRAN if you prefer a released version as of now (remotes::install_version is your friend here), but 1.6-6 is hopefully on CRAN soon in an almost identical version.

maxbiostat commented 1 year ago

I can confirm this solves the issue. Many thanks!

weberse2 commented 1 year ago

Great. Closing the matter then.