Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update install instructions to add CRAN

  • Loading branch information...
commit a1a04c99a18c7a943d5528395a305c5552e0e354 1 parent 6f293a4
@jrnold authored
Showing with 22 additions and 10 deletions.
  1. +10 −5 README.Rmd
  2. +12 −5 README.md
View
15 README.Rmd
@@ -39,17 +39,22 @@ Quantitative Information*.
# Install
-To install the newest version use
+To install the stable version from CRAN,
+
+```r
+install.packages('ggthemes', dependencies = TRUE)
+```
+
+Or, to install the development version from github, use the
+**devtools** package,
```r
library("devtools")
install_github("ggthemes", "jrnold")
```
-Make sure that you have installed the *newest* version of
-**devtools**.
-
-Windows users also must first install [Rtools](http://cran.rstudio.com/bin/windows/Rtools/).
+Windows users also must first install
+[Rtools](http://cran.rstudio.com/bin/windows/Rtools/).
# Contribute
View
17 README.md
@@ -37,17 +37,24 @@ Quantitative Information*.
# Install
-To install the newest version use
+To install the stable version from CRAN,
+
+```r
+install.packages('ggthemes', dependencies = TRUE)
+```
+
+Or, to install the development version from github, use the
+**devtools** package,
```r
library("devtools")
install_github("ggthemes", "jrnold")
+# or Development branch
+# install_github("ggthemes", "jrnold", ref="dev")
```
-Make sure that you have installed the *newest* version of
-**devtools**.
-
-Windows users also must first install [Rtools](http://cran.rstudio.com/bin/windows/Rtools/).
+Windows users also must first install
+[Rtools](http://cran.rstudio.com/bin/windows/Rtools/).
# Contribute
Please sign in to comment.
Something went wrong with that request. Please try again.