Cannot install any package of R

35 Views Asked by At

I was trying to reinstall a package beacause I have the following error:

A version of this package for your version of R might be available 
elsewhere,        
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/Radmin.html#Installing-packages

Here's the code:

install.packages("tidyverse")
install.packages("sf")

I tried to install different versions of R but I'm still having the same issue. And now I cannot install any package at all, because of the same reason

Anyone has experienced any related issue?

Session Info:

R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22631)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.0.0 cli_3.2.0      jsonlite_1.8.0 rlang_1.0.2
0

There are 0 best solutions below