Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"gghdx.rdb is corrupt" #34

Closed
zackarno opened this issue Jun 4, 2024 · 1 comment
Closed

"gghdx.rdb is corrupt" #34

zackarno opened this issue Jun 4, 2024 · 1 comment

Comments

@zackarno
Copy link
Collaborator

zackarno commented Jun 4, 2024

ran devtools::install() inside the number-hdx branch and got

Error: lazy-load database '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/gghdx/R/gghdx.rdb' is corrupt
In addition: Warning message:
internal error -3 in R_decompress1 

Then when run:

> library(gghdx)
Warning messages:
1: In get(name, envir = env) : internal error -3 in R_decompress1
2: In get(name, envir = env) : internal error -3 in R_decompress1
3: In get(name, envir = env) : internal error -3 in R_decompress1
4: In get(name, envir = env) : internal error -3 in R_decompress1
5: In get(name, envir = env) : internal error -3 in R_decompress1

By pressing ctrl + shift + b (devtools::build()) issue seems to resolve itself (no warnings and can load library)

Don't think the issue is specific to this package per se, as it seems like something I encountered before. I don't fully understand it, but figured i'd document as it sort of relates to #26

@caldwellst
Copy link
Collaborator

caldwellst commented Jun 4, 2024

Just simply an issue with R session that when you install a package new, it requires restarting. devtools::build() automatically restarts the session, hence why it "fixed" the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants