Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save README.Rmd figs in tools/ not README_files/ #3

Merged
merged 1 commit into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.