Problem installing rstan

I tried to install several time rstan using the following code :

install.packages(“rstan”, repos = c(“Repository for distributing (some) stan-dev R packages | r-packages”, getOption(“repos”)))

Once it’s done, I have this message :

Warning in install.packages :
installation of package ‘rstan’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/3v/d3373rfs17xcxylyvyxpc6fh0000gp/T/RtmpJ5N8Xg/downloaded_packages’

and I cannot find the package in my packages list, so I cannot do library(rstan)

Do you have any idea of what I can do ?