I tried to install the spDataLarge package in R using three options mentioned here: But none of them works.
I also tried to update my R version to the most recent version 4.4.2. I changed the RStudio settings below:
Tools -> Global options -> Packages -> Management -> uncheck the box before "Use secure download method for HTTP". -> Ok.
Option 1:
> install.packages("spDataLarge", repos = ";)
Installing package into ‘C:/Users/userName/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository /src/contrib:
cannot open URL '/src/contrib/PACKAGES'
Warning in install.packages :
package ‘spDataLarge’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
.html#Installing-packages
Warning in install.packages :
unable to access index for repository /bin/windows/contrib/4.4:
cannot open URL '/bin/windows/contrib/4.4/PACKAGES'
Warning message:
In download.file(mirrors_csv_url, destfile = mirrors_csv, quiet = TRUE) :
URL '.csv': status was 'SSL connect error'
Option 2:
> devtools::install_github("geocompr/geocompkg")
Downloading GitHub repo geocompr/geocompkg@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL ''
Option 3:
> install.packages("spDataLarge", repos = "/", type = "source")
Installing package into ‘C:/Users/userName/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository :
cannot open URL ''
Warning in install.packages :
package ‘spDataLarge’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
.html#Installing-packages
But nothings works.
If anyone possibly knows why, would you offer some help? Thank you!