You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: file ‘grants.rda’ has magic number 'versi'
Use of save versions prior to 2 is deprecated
Error in load(zfile, envir = envir) :
bad restore file magic number (file may be corrupted) -- no data loaded
ERROR: lazydata failed for package ‘rnsf’
I browsed a bit and I found that it is recommended to save R package data with devtools::use_data(grants, internal = FALSE), to avoid bad configuration of files.
Here's the whole installation log:
> devtools::install_github("bomeara/rnsf") # installing package is not working so downloaded data file for now
Downloading GitHub repo bomeara/rnsf@master
from URL https://api.github.com/repos/bomeara/rnsf/zipball/master
Installing rnsf
trying URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.5/tm_0.7-5.tgz'
Content type 'application/x-gzip' length 1081502 bytes (1.0 MB)
==================================================
downloaded 1.0 MB
Installing tm
Warning: unable to access index for repository https://datacube.wu.ac.at/bin/macosx/el-capitan/contrib/3.5:
cannot open URL 'https://datacube.wu.ac.at/bin/macosx/el-capitan/contrib/3.5/PACKAGES'
trying URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.5/NLP_0.2-0.tgz'
Content type 'application/x-gzip' length 387932 bytes (378 KB)
==================================================
downloaded 378 KB
Installing NLP
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \
--no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmpyqELYw/devtools51d2a9f66b5/NLP' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' \
--install-tests
* installing *binary* package ‘NLP’ ...
* DONE (NLP)
Warning: unable to access index for repository https://datacube.wu.ac.at/bin/macosx/el-capitan/contrib/3.5:
cannot open URL 'https://datacube.wu.ac.at/bin/macosx/el-capitan/contrib/3.5/PACKAGES'
trying URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.5/slam_0.1-43.tgz'
Content type 'application/x-gzip' length 201432 bytes (196 KB)
==================================================
downloaded 196 KB
Installing slam
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \
--no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmpyqELYw/devtools51d2a7cd9b0/slam' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' \
--install-tests
* installing *binary* package ‘slam’ ...
* DONE (slam)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \
--no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmpyqELYw/devtools51d4687a2d5/tm' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' \
--install-tests
* installing *binary* package ‘tm’ ...
* DONE (tm)
trying URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.5/wordcloud_2.6.tgz'
Content type 'application/x-gzip' length 229178 bytes (223 KB)
==================================================
downloaded 223 KB
Installing wordcloud
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \
--no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmpyqELYw/devtools51d23016153/wordcloud' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' \
--install-tests
* installing *binary* package ‘wordcloud’ ...
* DONE (wordcloud)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \
--no-save --no-restore --quiet CMD INSTALL \
'/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmpyqELYw/devtools51d707c2bab/bomeara-rnsf-2fe2256' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' \
--install-tests
* installing *source* package ‘rnsf’ ...
** R
** data
*** moving datasets to lazyload DB
Warning: file ‘grants.rda’ has magic number 'versi'
Use of save versions prior to 2 is deprecated
Error in load(zfile, envir = envir) :
bad restore file magic number (file may be corrupted) -- no data loaded
ERROR: lazydata failed for package ‘rnsf’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rnsf’
Installation failed: Command failed (1)
The text was updated successfully, but these errors were encountered:
I'm getting the following error
I browsed a bit and I found that it is recommended to save R package data with
devtools::use_data(grants, internal = FALSE)
, to avoid bad configuration of files.Here's the whole installation log:
The text was updated successfully, but these errors were encountered: