Unable to install most packages(Error: invalid version specification ‘NA’)


I've been working to resolve this issue for a few days but can't seem to find a solutions.
I'd very much appreciate any advice.

When attempting to install tidyverse, dplyr etc, I get the following error.

Error: invalid version specification ‘NA’
In addition: Warning message:
In utils:::packageDescription(packageName, fields = "Version") :
no package 'knitr' was found

I've uninstalled and reinstalled R studio and changed the the cran miror. I've also tried installing different versions of the package using the url.

Any idea what's going on here?

Try entering in the Console the following command


Package installations issues depend on the underlying R, not the RStudio interface

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.