mtkurbucz / eudistance

Distance Calculator for the Different Levels of European NUTS Regions
GNU General Public License v3.0
2 stars 2 forks source link

Problem calling the function #1

Open velentzas opened 7 months ago

velentzas commented 7 months ago

I followed exactly your instuctions loading the package but i have the following error when I call the function:

NUTS0 <- eudistance(0,TRUE)

Error: package or namespace load failed for ‘rworldmap’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called terra 

Could you please help me?

mtkurbucz commented 7 months ago

I noticed reports of similar errors with the terra package installation on macOS. If you're using macOS, here's a potential workaround for manual installation.

Please let us know if this helps resolve the installation issue. Additionally, I recently generated the entire dataset used for testing and can share it with you if you contact me privately (see my profile for contact details).