diff --git a/CRAN-RELEASE b/CRAN-RELEASE index e1867df..4953cbd 100644 --- a/CRAN-RELEASE +++ b/CRAN-RELEASE @@ -1,2 +1,2 @@ -This package was submitted to CRAN on 2018-12-05. -Once it is accepted, delete this file and tag the release (commit a8f32fd5fe). +This package was submitted to CRAN on 2020-04-17. +Once it is accepted, delete this file and tag the release (commit a77096f62a). diff --git a/README.Rmd b/README.Rmd index 0b65fc5..1c2b7c9 100644 --- a/README.Rmd +++ b/README.Rmd @@ -8,7 +8,7 @@ output: github_document knitr::opts_chunk$set( collapse = TRUE, comment = "#>", - fig.path = "tools/README-", + fig.path = "man/figures/README-", fig.width = 5, fig.height = 1 ) ``` diff --git a/README.md b/README.md index 4a56718..9b9eb57 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ library(tinter) hex <- "#335CAC" ``` -![](tools/README-colour-1.png) +![](man/figures/README-colour-1.png) ``` r tinter(hex) @@ -42,31 +42,31 @@ tinter(hex) #> [8] "#142444" "#0A1222" ``` -![](tools/README-tinter-1.png) +![](man/figures/README-tinter-1.png) ``` r tinter(hex, direction = "tints") ``` -![](tools/README-tints-1.png) +![](man/figures/README-tints-1.png) ``` r tinter(hex, steps = 10) ``` -![](tools/README-steps-1.png) +![](man/figures/README-steps-1.png) ``` r tinter(hex, steps = 10, crop = 7) ``` -![](tools/README-crop-1.png) +![](man/figures/README-crop-1.png) ``` r tinter(hex, steps = 10, crop = 7, adjust = 0.4) ``` -![](tools/README-darken-1.png) +![](man/figures/README-darken-1.png) ### Create a choropleth map @@ -84,7 +84,7 @@ ggplot(data = nc) + coord_sf(datum = NA) ``` -![](tools/README-plot-1.png) +![](man/figures/README-plot-1.png) ### Doesn’t this already exist? diff --git a/docs/404.html b/docs/404.html index f8be9b0..7394d15 100644 --- a/docs/404.html +++ b/docs/404.html @@ -141,7 +141,7 @@
Copyright (c) 2018 Poisson Consulting Ltd.
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the âSoftwareâ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED âAS ISâ, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
tinter
provides a simple way to generate monochromatic palettes. Easily define:
steps
).crop = 1
eliminates black and white).crop = 1
eliminates black and white).adjust
).library(tinter) hex <- "#335CAC"
tinter(hex) #> [1] "#D6DEEE" "#ADBDDD" "#849DCD" "#5B7CBC" "#335CAC" "#284989" "#1E3767" #> [8] "#142444" "#0A1222"
tinter(hex, direction = "tints")
tinter(hex, steps = 10)
tinter(hex, steps = 10, crop = 7)
tinter(hex, steps = 10, crop = 7, adjust = 0.4)
tinter
just simplifies a task usually done with grDevices
. Itâs default is to remove black and white from the palette.
tinter
just simplifies a task usually done with grDevices
. It’s default is to remove black and white from the palette.
tinter("blue") #> [1] "#CCCCFF" "#9999FF" "#6666FF" "#3333FF" "#0000FF" "#0000CC" "#000099" #> [8] "#000065" "#000032" @@ -169,7 +169,7 @@Contribution
Please report any issues.
Pull requests are always welcome.
-Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
+Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
chk_color
/chk_colour
and vld_color
/vld_colour
.