I have tried to install the "humboldt" package from github and I entered the code:
But when I run the code to install the package, I get this error:
Error: object 'nndist' is not exported by 'namespace:spatstat'
ERROR: lazy loading failed for package 'humboldt'
- removing 'C:/Users/HP/OneDrive/Documents/R/win-library/4.0/humboldt'
Error: Failed to install 'humboldt' from GitHub:
(converted from warning) installation of package ‘C:/Users/HP/AppData/Local/Temp/Rtmp8En51V/file4c9c22233edc/humboldt_1.0.0.01202021.tar.gz’ had non-zero exit status
I searched for the "nndist" and it is in "spatstat.geo" package. All the "spatstat" packages are installed when I install "spatstat".
Please help me with this issue.