Skip to content

Commit

Permalink
Save README.Rmd figs in tools/ not README_files/
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Mar 31, 2020
1 parent 1f93088 commit 1af04e7
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Suggests:
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.1
RoxygenNote: 7.1.0
Language: en-US
6 changes: 4 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ output: github_document

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r setup, include = FALSE}
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.width=5, fig.height=1
fig.path = "tools/README-",
fig.width = 5, fig.height = 1
)
```


# tinter <img src="https://raw.githubusercontent.com/poissonconsulting/tinter/master/docs/logo.png" align="right" width='15%'/>


Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,39 +34,39 @@ library(tinter)
hex <- "#335CAC"
```

![](README_files/figure-gfm/colour-1.png)<!-- -->
![](tools/README-colour-1.png)<!-- -->

``` r
tinter(hex)
#> [1] "#D6DEEE" "#ADBDDD" "#849DCD" "#5B7CBC" "#335CAC" "#284989" "#1E3767"
#> [8] "#142444" "#0A1222"
```

![](README_files/figure-gfm/tinter-1.png)<!-- -->
![](tools/README-tinter-1.png)<!-- -->

``` r
tinter(hex, direction = "tints")
```

![](README_files/figure-gfm/tints-1.png)<!-- -->
![](tools/README-tints-1.png)<!-- -->

``` r
tinter(hex, steps = 10)
```

![](README_files/figure-gfm/steps-1.png)<!-- -->
![](tools/README-steps-1.png)<!-- -->

``` r
tinter(hex, steps = 10, crop = 7)
```

![](README_files/figure-gfm/crop-1.png)<!-- -->
![](tools/README-crop-1.png)<!-- -->

``` r
tinter(hex, steps = 10, crop = 7, adjust = 0.4)
```

![](README_files/figure-gfm/darken-1.png)<!-- -->
![](tools/README-darken-1.png)<!-- -->

### Create a choropleth map

Expand All @@ -84,7 +84,7 @@ ggplot(data = nc) +
coord_sf(datum = NA)
```

![](README_files/figure-gfm/plot-1.png)<!-- -->
![](tools/README-plot-1.png)<!-- -->

### Doesn’t this already exist?

Expand Down
Binary file removed README_files/figure-gfm/plot-1.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tools/README-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1af04e7

Please sign in to comment.