karthik / wesanderson

A Wes Anderson color palette for R
Other
1.94k stars 147 forks source link

Installation from Github fails #2

Closed krose closed 10 years ago

krose commented 10 years ago

Hi

Cool package!

There's a "hadley" reference in the link when you try to install the dev version.

> devtools::install_github("karthik/wesanderson")
Installing github repo(s) karthik/wesanderson/master from hadley
Downloading karthik/wesanderson.zip from https://github.com/hadley/karthik/wesanderson/archive/master.zip
Error: client error: (404) Not Found

/Kenneth

krose commented 10 years ago

This works though:

devtools::install_github(repo="wesanderson", username="karthik")
karthik commented 10 years ago

It's a very simple issue to do with what version of devtools you're using. Looks like you have a older version. Starting version 1.4, it's possible to use

devtools::install_github("user/repo")

Otherwise use:

install_github("wesanderson", "karthik")

Unless you have some strong reason to stick with an older devtools, it might be a good idea to upgrade now.