Skip to content
Permalink
Browse files

Update README with CRAN install

  • Loading branch information...
nsgrantham committed Jan 16, 2019
1 parent e85b4da commit b39b96c2b42dadc316eeaa2991a93b9b3c3fee11
Showing with 15 additions and 3 deletions.
  1. +7 −1 README.Rmd
  2. +8 −2 README.md
@@ -19,7 +19,13 @@ knitr::opts_chunk$set(

## Installation

You can install ggdark from GitHub with:
You can install ggdark from CRAN with:

```{r cran-installation, eval = FALSE}
install.packages("ggdark")
```

If you want the development version, you can install ggdark from GitHub with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
@@ -8,7 +8,13 @@ ggdark
Installation
------------

You can install ggdark from GitHub with:
You can install ggdark from CRAN with:

``` r
install.packages("ggdark")
```

If you want the development version, you can install ggdark from GitHub with:

``` r
# install.packages("devtools")
@@ -147,7 +153,7 @@ p <- ggplot(subset(gapminder, continent != "Oceania")) +
geom_line(aes(year, lifeExp, group = country, color = country), lwd = 1, show.legend = FALSE) +
facet_wrap(~ continent) +
scale_color_manual(values = country_colors) +
labs(title = "Life expectancy has increased across the globe")
labs(title = "Life expectancy has increased worldwide")
```

``` r

0 comments on commit b39b96c

Please sign in to comment.
You can’t perform that action at this time.