Skip to content

Installing from local issues? #130

@ewong347

Description

@ewong347

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')"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions