xmarquez / democracyData

Access and manipulate most standard scholarly measures of democracy
https://xmarquez.github.io/democracyData/
84 stars 21 forks source link

Corrupt lazy load #8

Closed hgoers closed 2 years ago

hgoers commented 2 years ago

Hi. This is a great package! However, I am unable to download any of the datasets. I get the following error message:

fh <- download_fh(verbose = FALSE)

Error in stringr::str_replace_all(., "^\\.", "") : 
  lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/stringi/R/stringi.rdb' is corrupt
In addition: Warning messages:
1: In stringr::str_replace_all(., "^\\.", "") :
  restarting interrupted promise evaluation
2: In stringr::str_replace_all(., "^\\.", "") :
  internal error -3 in R_decompress1
gwf <- redownload_gwf(verbose = FALSE)

Error in stringr::str_replace_all(., "^\\.", "") : 
  lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/stringi/R/stringi.rdb' is corrupt
In addition: Warning messages:
1: In stringr::str_replace_all(., "^\\.", "") :
  restarting interrupted promise evaluation
2: In stringr::str_replace_all(., "^\\.", "") :
  internal error -3 in R_decompress1
hgoers commented 2 years ago

Apologies! Needed to update stringr. Thanks again for a great package!