Rethinking package not installing

Hey, I just installed rstan package and I am trying now to install rethinking (following statistical rethinking book). however, i seem to have missed something because i now get the message that

Error: (converted from warning) package ‘rstan’ was built under R version 3.6.3

Is there a way of installing a previous rstan or a previous rethinking? or what could be the problem? Thanks for any hints!
aleja

1 Like

If you are using remotes::install_github, then you first need to do

Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")

to workaround a bad default.

2 Likes

Thank you, that did it! :)