On 19 December 2018 at 11:01, Emmanuel Charpentier wrote: | | On a 3.5.1 installation not yet updated, brms has three dependencies, | none of them having themselves dependencies : | | > installed.packages()["brms","Depends"] | [1] "R (>= 3.2.0), Rcpp (>= 0.12.0), ggplot2 (>= 2.0.0), methods" | > installed.packages()["Rcpp","Depends"] | [1] "R (>= 3.0.0)" | > installed.packages()["ggplot2","Depends"] | [1] "R (>= 3.1)" | > installed.packages()["methods","Depends"] | [1] NA
i) methods is part of R ii) ggplot2 does not have C++ code AFAIK iii) we concluded earlier than the stan stack is the likely culprit. | However, reinstalling these dependencies (except methods, which is an | unupgradable base package) do not allow for a smooth upgrade : | | > install.packages(c("Rcpp","ggplot2","methods")) | Installation des packages dans ‘/usr/local/lib/R/site-library’ | (car ‘lib’ n'est pas spécifié) | | [ Snip... ] | | Les packages source téléchargés sont dans | ‘/tmp/RtmpH946C3/downloaded_packages’ | Warning messages: | 1: package ‘methods’ is not available (for R version 3.5.1) Because it is part of r-base-core. Dirk | 2: package ‘methods’ is a base package, and should not be updated | | * installing *source* package ‘brms’ ... | ** package ‘brms’ correctement décompressé et sommes MD5 vérifiées | ** R | terminate called after throwing an instance of 'std::runtime_error' | what(): Mutex creation failed | Aborted | | Les packages source téléchargés sont dans | ‘/tmp/RtmpH946C3/downloaded_packages’ | Warning message: | In install.packages("brms") : | l'installation du package ‘brms’ a eu un statut de sortie non nul | | Back to the brute-force method... | | HTH, | | -- | Emmanuel Charpentier -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org