Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdalgarno committed Apr 16, 2020
1 parent ce14015 commit aa094f4
Show file tree
Hide file tree
Showing 59 changed files with 1,440 additions and 332 deletions.
5 changes: 2 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

# tinter 0.1.0

* Added exported functions chk_color/chk_colour and vld_color/vld_colour.
* Resolved issue of 'class(matrix(...)) gives a vector of length two and conditions of length
greater than one in 'if' or 'while' give an error'.
* Added exported functions `chk_color`/`chk_colour` and `vld_color`/`vld_colour`.
* Resolved issue in r devel build caused by testing condition on vector of length two.
2 changes: 1 addition & 1 deletion R/vld.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#'
#' @inheritParams chk::chk_true
#' @return A flag indicating whether the object was validated.
#' @seealso \code{\link{chk_color}()}
#' @seealso [chk_color()]
#' @name vld_color
NULL

Expand Down
4 changes: 1 addition & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ knitr::opts_chunk$set(
```{r global}
library(tinter)
hex <- "#335CAC"
```

```{r colour, echo = FALSE, fig.width = 2, fig.height = 0.5}
Expand Down Expand Up @@ -81,7 +80,6 @@ tinter(hex, direction = "tints")

```{r tints, echo=FALSE}
tinter_plot(tinter(hex, direction = "tints"))
```

```{r, results="hide"}
Expand Down Expand Up @@ -117,7 +115,7 @@ library(sf)
nc <- st_read(system.file(package = "sf", "shape/nc.shp"))
ggplot(data = nc) +
geom_sf(aes(fill = AREA), colour = "white", lwd = 0.05) +
geom_sf(aes(fill = AREA), colour = "white", lwd = 0.04) +
# colours from tinter
scale_fill_gradientn(colours = tinter(hex)) +
theme_void() +
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ library(sf)
nc <- st_read(system.file(package = "sf", "shape/nc.shp"))

ggplot(data = nc) +
geom_sf(aes(fill = AREA), colour = "white", lwd = 0.05) +
geom_sf(aes(fill = AREA), colour = "white", lwd = 0.04) +
# colours from tinter
scale_fill_gradientn(colours = tinter(hex)) +
theme_void() +
Expand Down
156 changes: 156 additions & 0 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 42 additions & 16 deletions docs/CODE_OF_CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa094f4

Please sign in to comment.