简体   繁体   中英

Problems Installing choroplethrZip@v1.5.0 3.5 R

Using the below code I got

install.packages("devtools") 
library(devtools)
install_github('arilamstein/choroplethrZip@v1.5.0')

I'm trying to load this package but keep getting this error

Installing 32 packages: farver, gridExtra, checkmate, e1071, uuid, rgdal, cpp11, DBI, classInt, selectr, hms, units, readr, rappdirs, tidyr, rvest, tigris, sf, png, jpeg, rjson, RgoogleMaps, RJSONIO, viridis, htmlTable, data.table, tidycensus, ggmap, WDI, Hmisc, acs, choroplethr Error: Failed to install 'choroplethrZip' from GitHub: (converted from warning) dependencies 'latticeExtra', 'XML' are not available

It asks me what part I want to update but no matter if I select one, two, all, or none. It gives me the same error. Is there a way to fix this?

Try

install.packages(c("latticeExtra", "XML"))

and then try installing choroplethrZip again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM