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 WRONG #10

Open
MarissaHeloise opened this issue Dec 13, 2018 · 1 comment
Open

install_github WRONG #10

MarissaHeloise opened this issue Dec 13, 2018 · 1 comment

Comments

@MarissaHeloise
Copy link

Hello, I am using R studio, and my R version is 3.5.1.
I can't download packages correctly from GitHub.
Could you please help me? I ran into the same question when I was trying to use REmap as well.


`library(devtools)

install_github('badbye/baidumap')
Downloading GitHub repo badbye/baidumap@master

gzip: stdin: not in gzip format
/Rtools/bin/tar: Child returned status 1
/Rtools/bin/tar: Error is not recoverable: exiting now
External tar failed with --force-local, trying without

gzip: stdin: not in gzip format
/Rtools/bin/tar: Child returned status 1
/Rtools/bin/tar: Error is not recoverable: exiting now
External tar failed with --force-local, trying without
Error: Does not appear to be an R package (no DESCRIPTION)
In addition: Warning messages:
1: In utils::untar(tarfile, ...) :
‘tar.exe -zxf "C:\Users\heqi\AppData\Local\Temp\Rtmp0MlsCE\file7ec46e105c5.tar.gz" -C "C:/Users/heqi/AppData/Local/Temp/Rtmp0MlsCE/remotes7ec41dad7acd"’ returned error code 2
2: In system(cmd, intern = TRUE) :
running command 'tar.exe -ztf "C:\Users\heqi\AppData\Local\Temp\Rtmp0MlsCE\file7ec46e105c5.tar.gz"' had status 2`


> install_github('lchiffon/REmap') Error in read.dcf(path) : Found continuation line starting ' interactive map ...' at begin of record.

@sunsuzisue
Copy link

  1. you can download the package in your local computer:
    https://github.com/Lchiffon/REmap
  2. then,
    library(devtools)
    devtools::install_local("D:\R_package\REmap-master.zip") #change the path
    library(REmap)

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