I'm novice in R, while I'm trying to install getSpatial package and getting error or someting in blue
#> Enter one or more numbers, or an empty line to skip updates:library(getSpatialData)
Codes I used is :
#> devtools::install_github("16EAGLE/getSpatialData")
That is not an error, It's a prompt asking you to make a selection, just run the first command and then choose an option, type the corresponding number for the option you have chosen and press enter. I would recommend typing 1 and pressing Enter
devtools::install_github("16EAGLE/getSpatialData")
Downloading GitHub repo 16EAGLE/getSpatialData@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: ps (1.3.3 -> 1.3.4) [CRAN]
5: tidyr (1.1.0 -> 1.1.1) [CRAN]
6: dplyr (1.0.0 -> 1.0.1) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
The error message is self explanatory, you need to install XML package but this requires a newer version of R (>= 4.0.0) so you need to update your R version.