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

install_github() error with magic number? #24

Closed
ytakemon opened this issue Mar 2, 2022 · 2 comments
Closed

install_github() error with magic number? #24

ytakemon opened this issue Mar 2, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ytakemon
Copy link
Owner

ytakemon commented Mar 2, 2022

Got the following error when trying to install package via install_github("ytakemon/GINIR")

Installing package into ‘/home/ytakemon/R/x86_64-centos7-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘GINIR’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
Warning: file ‘CCLE_exp.rda’ has magic number 'versi'
  Use of save versions prior to 2 is deprecated
Error in load(zfile, envir = tmp_env) : 
  bad restore file magic number (file may be corrupted) -- no data loaded
ERROR: lazydata failed for package ‘GINIR’
* removing ‘/home/ytakemon/R/x86_64-centos7-linux-gnu-library/4.0/GINIR’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/Rtmp3H76kN/file2a3916830a959/GINIR_0.1.0.tar.gz’ had non-zero exit status
@ytakemon ytakemon added the bug Something isn't working label Mar 2, 2022
@ytakemon ytakemon changed the title install_github() error with magic numer? install_github() error with magic number? Mar 2, 2022
@ytakemon
Copy link
Owner Author

ytakemon commented Mar 2, 2022

Found this same issue on another repo. It was a conflict between git-lfs that was used for large files and LazyData=true. Fixed with turning LazyData to false.

@ytakemon ytakemon closed this as completed Mar 2, 2022
@ytakemon ytakemon self-assigned this Mar 2, 2022
@ytakemon
Copy link
Owner Author

ytakemon commented Mar 2, 2022

Now that LazyData is off, need to fix how data is loaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant