Please see this post
and then also do install.packages(“rstanarm”, type = “source”)
install.packages(“rstanarm”, type = “source”)