paleolimbot/ggspatial

Error na instalação do pacote (R)

Closed this issue · 1 comments

Erro: package or namespace load failed for ‘ggspatial’:
.onLoad falhou em loadNamespace() para 'units', detalhes:
chamada: udunits_init(file.path(.get_ud_xml_dir(), "udunits2.xml"))
erro: Error in function udunits_init: Can't open installed, default, unit database

Sorry it took me so long to respond...this issue dropped off my radar. My guess is that you have a broken udunits installation that is affecting your ability to load the sf package (on which ggspatial depends). I would try install.packages("udunits") and see if that fixes things. If not, you may have to reinstall udunits on your platform before trying a reinstall of the package. Hope that helps!