Closed RobsonTigre closed 5 years ago
Hi @RobsonTigre
Thank you for the compliment. And thanks for choosing the Rnightlights package.
I have just tested the package and the GADM downloads are still okay. The error you are getting seems related to the download in terms of the destination. Could you check that you have disk space on the host drive and that you have write permissions to the folder?
If the above don't yield anything, could you try changing the destination folder probably to a different drive and see if you still get the same error? You can change the Rnightlights data folder by running setupDataPath()
.
All the best with your learning
Dear @chrisvwn , thank you for your quick and effective reply! In fact setupDataPath()
solved that problem.
All the best
Great! I am glad to hear that! Happy learning.
Dear Chris,
Thank you for sharing your amazing package! I am trying to learn by doing, so I went to replicate your example code. After running the following piece...
I come across the error below:
The same happens if i try other countries. I read the previous issues reported, and my impression is that GADM may have changed something not accounted for in the code. I am relatively novice in R, so if you may propose a workaround it would be great.
Thanks in advance and congrats on the package once again.