Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to install 'getSpatialData' from GitHub: #74

Open
khanzainub opened this issue Aug 16, 2020 · 1 comment
Open

Error: Failed to install 'getSpatialData' from GitHub: #74

khanzainub opened this issue Aug 16, 2020 · 1 comment

Comments

@khanzainub
Copy link

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!

@hfisser
Copy link
Contributor

hfisser commented Sep 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants