From 05dec0aae1ff7fac562ba46c9d41d20abcb19b97 Mon Sep 17 00:00:00 2001 From: Kara Woo Date: Tue, 13 Jun 2017 11:27:45 -0700 Subject: [PATCH 1/2] Move ggplot2 logo to man/figures/ --- README.Rmd | 2 +- README.md | 4 ++-- logo.png => man/figures/logo.png | Bin 3 files changed, 3 insertions(+), 3 deletions(-) rename logo.png => man/figures/logo.png (100%) diff --git a/README.Rmd b/README.Rmd index 21d6e2d25..e7fcb801f 100644 --- a/README.Rmd +++ b/README.Rmd @@ -12,7 +12,7 @@ knitr::opts_chunk$set( ) ``` -# ggplot2 +# ggplot2 [![Travis Build Status](https://travis-ci.org/tidyverse/ggplot2.svg?branch=master)](https://travis-ci.org/tidyverse/ggplot2) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/tidyverse/ggplot2?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/ggplot2) diff --git a/README.md b/README.md index 2ccbfa5e1..816460ade 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -ggplot2 -============================================ +ggplot2 +======================================================== [![Travis Build Status](https://travis-ci.org/tidyverse/ggplot2.svg?branch=master)](https://travis-ci.org/tidyverse/ggplot2) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/tidyverse/ggplot2?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/ggplot2) [![Coverage Status](https://img.shields.io/codecov/c/github/tidyverse/ggplot2/master.svg)](https://codecov.io/github/tidyverse/ggplot2?branch=master) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/ggplot2)](https://cran.r-project.org/package=ggplot2) diff --git a/logo.png b/man/figures/logo.png similarity index 100% rename from logo.png rename to man/figures/logo.png From 2d40e334e5b2c45d0557c773df79de86d73d9e3e Mon Sep 17 00:00:00 2001 From: Kara Woo Date: Tue, 13 Jun 2017 12:20:14 -0700 Subject: [PATCH 2/2] Update knitr options to put README images in man/figures/ --- README.Rmd | 2 +- README.md | 2 +- README-example-1.png => man/figures/README-example-1.png | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename README-example-1.png => man/figures/README-example-1.png (100%) diff --git a/README.Rmd b/README.Rmd index e7fcb801f..dad45fee1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -8,7 +8,7 @@ output: github_document knitr::opts_chunk$set( collapse = TRUE, comment = "#>", - fig.path = "README-" + fig.path = "man/figures/README-" ) ``` diff --git a/README.md b/README.md index 816460ade..19eafc7bd 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ ggplot(mpg, aes(displ, hwy, colour = class)) + geom_point() ``` -![](README-example-1.png) +![](man/figures/README-example-1.png) As well as the components built-in to ggplot2, there are many packages that provide extensions. See a comprehensive list at . diff --git a/README-example-1.png b/man/figures/README-example-1.png similarity index 100% rename from README-example-1.png rename to man/figures/README-example-1.png