jKraut
jKraut

Reputation: 2487

RStudio Required Package Versions Could Not Be Found

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.

Upvotes: 8

Views: 16722

Answers (3)

user12720698
user12720698

Reputation: 11

install.packages('evaluate')
Warning in install.packages :
  unable to access index for repository HTTP://cran.rstudio.com/bin/windows/contrib/3.4:
  cannot open URL 'HTTP://cran.rstudio.com/bin/windows/contrib/3.4/PACKAGES'

When you compile the update or remove sentences, if the output like this, you could make some settings, since maybe the problem is your internet. Follow the steps:

  1. Open Rstudio.
  2. Click tools.
  3. Choose global options->packages.
  4. Modify CRAN to the country you living. like, China or Japan. Cause your browser maybe work only you do this.

Upvotes: 1

Sudharsana Rajasekaran
Sudharsana Rajasekaran

Reputation: 328

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

getOption("repos")
options(repos = c(CRAN = "https://cran.rstudio.org"))

Upvotes: 8

Anja M
Anja M

Reputation: 51

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 !

Upvotes: 4

Related Questions