You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the needed 'XML' package seems not to be available for your R version (3.6.0), which the last line of the error suggests. Please find more information on this dependency here: https://cran.r-project.org/web/packages/XML/index.html
I suggest to install getSpatialData with R version >=4.0.0. If you want to avoid replacing R 3.6.0 (because required in other projects) you may also use different versions depending on the project. Installation of getSpatialData should work under 4.0.0
i tried to install and load in library "getSpatialData " package with codes as follows:
devtools::install_github("16EAGLE/getSpatialData")
library(getSpatialData)
and threw prompt:
Enter one or more numbers, or an empty line to skip updates:1 # I chose 1
Now it gave error:
Skipping 1 packages not available: XML
Installing 26 packages: digest, vctrs, rlang, pillar, ellipsis, ps, backports, pkgbuild, withr, Rcpp, sp, plyr, tibble, scales, tidyr, dplyr, reshape2, xfun, sf, raster, leafem, sys, RcppArmadillo, rgdal, XML, httr
Installing packages into ‘C:/Users/Zainab Khan/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Error: Failed to install 'getSpatialData' from GitHub:
(converted from warning) package ‘XML’ is not available (for R version 3.6.0)
Someone Please help!
The text was updated successfully, but these errors were encountered: