Closed damienchallet closed 11 years ago
Hi Damien,
Where did you see that code? In previous versions (say a few months ago), you installed the package using that command. The Readme now has the following code:
library(devtools)
install_github("poweRlaw", "csgillespie", subdir="pkg")
Hi Colin,
I was being slightly elliptic: I did copy-paste from the readme:
> library(devtools)
> install_github("poweRlaw", "csgillespie", subdir="pkg")
Installing github repo(s) poweRlaw/master from csgillespie
Installing poweRlaw.zip from
https://api.github.com/repos/csgillespie/poweRlaw/zipball/master
Error: client error: (403) Forbidden
>
Hi Damien,
OK, the command works for me on my desktop and laptop.
install_github
work for other repos? I think knitr
uses this methodDistributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 Codename: squeeze
R 2.15.2
I perfectly can access the url you gave me:
$ wget https://api.github.com/repos/csgillespie/poweRlaw/zipball/master --2013-05-03 10:39:15-- https://api.github.com/repos/csgillespie/poweRlaw/zipball/master Resolving api.github.com... 207.97.227.243 Connecting to api.github.com|207.97.227.243|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/csgillespie/poweRlaw/legacy.zip/master[following] --2013-05-03 10:39:15-- https://codeload.github.com/csgillespie/poweRlaw/legacy.zip/master Resolving codeload.github.com... 204.232.175.86 Connecting to codeload.github.com|204.232.175.86|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 988766 (966K) [application/zip] Saving to: “master”
100%[========================================================================================================================================>] 988,766 837K/s in 1.2s
It is possible to install the zip by hand ?
Thanks for your help!
Damien
Hi Damian,
You're running Debian. So,
Let me know if that works.
It may be a problem with devtools. Would you raise an issue on the devtools repo?
Dear Colin,
Yes indeed, it worked. Many thanks for your help! I will look into devtools and raise an issue if needed.
Best regards
Damien
On Fri, May 3, 2013 at 11:11 AM, Colin Gillespie notifications@github.comwrote:
Hi Damian,
You're running Debian. So,
- Download the zip file
- Unzip the file: unzip csgillespie-poweRlaw-
- cd into the csgillespie-poweRlaw directory
- R CMD INSTALL pkg/
Let me know if that works.
It may be a problem with devtools. Would you raise an issue on the devtools repo?
— Reply to this email directly or view it on GitHubhttps://github.com/csgillespie/poweRlaw/issues/5#issuecomment-17385096 .
Dear Colin,
The dependence on devtools is >=1.0, otherwise one gets the error 403 (the problem being that I don't have R 3.0 and devtools could not update itself to the latest version)
Thanks again for your help.
Best regards
Damien
On Fri, May 3, 2013 at 11:18 AM, Damien Challet damien.challet@gmail.comwrote:
Dear Colin,
Yes indeed, it worked. Many thanks for your help! I will look into devtools and raise an issue if needed.
Best regards
Damien
On Fri, May 3, 2013 at 11:11 AM, Colin Gillespie <notifications@github.com
wrote:
Hi Damian,
You're running Debian. So,
- Download the zip file
- Unzip the file: unzip csgillespie-poweRlaw-
- cd into the csgillespie-poweRlaw directory
- R CMD INSTALL pkg/
Let me know if that works.
It may be a problem with devtools. Would you raise an issue on the devtools repo?
— Reply to this email directly or view it on GitHubhttps://github.com/csgillespie/poweRlaw/issues/5#issuecomment-17385096 .
Following the readme,
Thanks for your help
Damien