Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RStudio Required Package Versions Could Not Be Found

Tags:

r

rstudio

I updated my Mac to OS10 and attempting to run RStudio Knit, and get the error:

"evaluate 0.7.2 is required but 0.7 is available".  

I tried this and did not fixed the issue:

remove.packages("evaluate")
install.packages("evaluate")

Any help would be appreciated.

like image 942
jKraut Avatar asked Jul 26 '16 16:07

jKraut


2 Answers

Try setting up the below option and by rerunning the code.

getOption("repos")
options(repos = c(CRAN = "https://cran.rstudio.org"))
like image 198
Sudharsana Rajasekaran Avatar answered Nov 20 '22 02:11

Sudharsana Rajasekaran


It also happened to me. I downloaded evaluate zip file from here https://cran.rstudio.com/web/packages/evaluate/index.html and then manually installed it in R Studio (Tools-InstallPackages-zip file). Good luck !

like image 44
Anja M Avatar answered Nov 20 '22 03:11

Anja M