You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully installed rstan, but I cannot manage to install rstanarm and I do not understand why.
I have also tried to install first bayesplot but I always get the same error you can see below.
install.packages("rstanarm")
Installing package into ‘/home/ahmed/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘bayesplot’, ‘shinystan’
trying URL 'https://cloud.r-project.org/src/contrib/bayesplot_1.10.0.tar.gz'
Content type 'application/x-gzip' length 4993447 bytes (4.8 MB)
==================================================
downloaded 4.8 MB
trying URL 'https://cloud.r-project.org/src/contrib/shinystan_2.6.0.tar.gz'
Content type 'application/x-gzip' length 2399890 bytes (2.3 MB)
==================================================
downloaded 2.3 MB
trying URL 'https://cloud.r-project.org/src/contrib/rstanarm_2.21.3.tar.gz'
Content type 'application/x-gzip' length 3767563 bytes (3.6 MB)
==================================================
downloaded 3.6 MB
* installing *source* package ‘bayesplot’ ...
** package ‘bayesplot’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in element_line(linewidth = 0.3) :
unused argument (linewidth = 0.3)
Error: unable to load R code in package ‘bayesplot’
Execution halted
ERROR: lazy loading failed for package ‘bayesplot’
* removing ‘/home/ahmed/R/x86_64-pc-linux-gnu-library/4.2/bayesplot’
Warning in install.packages :
installation of package ‘bayesplot’ had non-zero exit status
ERROR: dependency ‘bayesplot’ is not available for package ‘shinystan’
* removing ‘/home/ahmed/R/x86_64-pc-linux-gnu-library/4.2/shinystan’
Warning in install.packages :
installation of package ‘shinystan’ had non-zero exit status
ERROR: dependencies ‘bayesplot’, ‘shinystan’ are not available for package ‘rstanarm’
* removing ‘/home/ahmed/R/x86_64-pc-linux-gnu-library/4.2/rstanarm’
Warning in install.packages :
installation of package ‘rstanarm’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpntGw1e/downloaded_packages’
The text was updated successfully, but these errors were encountered:
It complains about the linewidth aesthetic, which was introduced in ggplot2 version 3.4.0. Try to upgrade ggplot2 to at least this version, and after that try installing rstanarm.
bayesplot package seems to use this feature, but incorrectly requires only that ggplot2 version ≥ 3.0.0.
Hi guys,
I have successfully installed
rstan
, but I cannot manage to installrstanarm
and I do not understand why.I have also tried to install first
bayesplot
but I always get the same error you can see below.The text was updated successfully, but these errors were encountered: