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

Installing from local issues? #130

Open
ewong347 opened this issue Sep 8, 2021 · 0 comments
Open

Installing from local issues? #130

ewong347 opened this issue Sep 8, 2021 · 0 comments

Comments

@ewong347
Copy link
Collaborator

ewong347 commented Sep 8, 2021

Installing package from zip on BEVi, needed to install from local; it spat out this error.
Googled the below error and this showed up on stack overflow

> install.packages('twt-master.zip', repos = NULL, type='source')
Installing package into/home/ewong347/R/x86_64-redhat-linux-gnu-library/3.6’
(aslibis unspecified)
Error in rawToChar(block[seq_len(ns)]) : 
  embedded nul in string: 'PK\003\004\n\0\0\0\0\0q\x97\032S\0\0\0\0\0\0\0\0\0\0\0\0\v\0\t\0twt-master/UT\005\0\001\006G(aPK\003\004\n\0\0\0\b\0q\x97\032Sh\xc2V\xb2N\0\0\0S\0\0\0\025\0\t\0twt-master/.gitignor'
Warning message:
In install.packages("twt-master.zip", repos = NULL, type = "source") :
  installation of packagetwt-master.ziphad non-zero exit status

Used this command instead; this one works

/usr/local/bin/Rscript -e "require(devtools); install_local('twt-master.zip')"
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

1 participant