eblondel / cleangeo

Cleaning geometries from spatial objects in R
https://github.com/eblondel/cleangeo/wiki
44 stars 2 forks source link

Unable to Load cleangeo Library #20

Closed ghost closed 7 years ago

ghost commented 7 years ago

Dear Emmanuel Blondel,

Thank you for your cleangeo package. In my company, we been using as part of our R code to clean and verified our shapefiles for almost one year. Since the new update, I am having a problem loading the library. I am getting the following problem:

suppressMessages(library(cleangeo)) # for clgeo_Clean
Error in get(Info[i, 1], envir = env) : 
  lazy-load database '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/sp/R/sp.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘cleangeo’

Can you help me to figure out what is going wrong? I reinstalled without any effect in the problem.

Thak you ahead, Alex

ghost commented 7 years ago

Never mind. The problem was R in my computer. After my R Session was aborted and crash, the cleangeo worked perfectly.

Thank you for your great contribution to R-GIS community.