Skip to content

Commit

Permalink
add rockthemes palettes. close #97
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Dec 29, 2020
1 parent f9c0d6e commit 2a865ee
Show file tree
Hide file tree
Showing 12 changed files with 138 additions and 5 deletions.
5 changes: 5 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,9 @@ By: Kaizad F. Patel
License: MIT
https://github.com/kaizadp/soilpalettes/blob/master/LICENSE

---

rockthemes
By: John MacKintosh
License: GPL-3 + file LICENSE
https://github.com/johnmackintosh/rockthemes/blob/main/LICENSE.md
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# paletteer (development version)

* 14 palettes have been added from the soilpaletttes package. (#95)
* 20 palettes have been added from the rockthemes package. (#97)

# paletteer 1.2.0

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ you need for a smooth transition of color:

![](man/figures/README-unnamed-chunk-4-1.png)<!-- -->

This package includes 2089 from 57 different packages and information
This package includes 2109 from 58 different packages and information
about these can be found in the following data.frames:
`palettes_c_names`, `palettes_d_names` and `palettes_dynamic_names`.
Additionally this [github
Expand Down Expand Up @@ -175,6 +175,7 @@ paletteer_c("nord::frost")
| rcartocolor | [Nowosad/rcartocolor - 2.0.0](https://github.com/Nowosad/rcartocolor) | [2.0.0](https://CRAN.R-project.org/package=rcartocolor) |
| RColorBrewer | \- | [1.1-2](https://CRAN.R-project.org/package=RColorBrewer) |
| Redmonder | \- | [0.2.0](https://CRAN.R-project.org/package=Redmonder) |
| rockthemes | [johnmackintosh/rockthemes - 0.0.0.9000](https://github.com/johnmackintosh/rockthemes) | \- |
| RSkittleBrewer | [alyssafrazee/RSkittleBrewer - 1.1](https://github.com/alyssafrazee/RSkittleBrewer) | \- |
| rtist | [tomasokal/rtist - 1.0.0](https://github.com/tomasokal/rtist) | [1.0.0](https://CRAN.R-project.org/package=rtist) |
| scico | [thomasp85/scico - 1.2.0](https://github.com/thomasp85/scico) | [1.2.0](https://CRAN.R-project.org/package=scico) |
Expand Down
1 change: 1 addition & 0 deletions data-raw/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ paletteer_packages <- tibble::tribble(
"rcartocolor", "Nowosad/rcartocolor", "2.0.0", TRUE, "2.0.0",
"RColorBrewer", NA, NA, TRUE, "1.1-2",
"Redmonder", NA, NA, TRUE, "0.2.0",
"rockthemes", "johnmackintosh/rockthemes", "0.0.0.9000", FALSE, NA,
"RSkittleBrewer", "alyssafrazee/RSkittleBrewer", "1.1", FALSE, NA,
"rtist", "tomasokal/rtist", "1.0.0", TRUE, "1.0.0",
"scico", "thomasp85/scico", "1.2.0", TRUE, "1.2.0",
Expand Down
4 changes: 4 additions & 0 deletions data-raw/palettes_d.R
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ redmonder_ncolor <- Redmonder::redmonder.pal.info$maxcolors
redmonder_pals <- mapply(Redmonder::redmonder.pal, n = redmonder_ncolor, name = redmonder_name)
names(redmonder_pals) <- redmonder_name

## rockthemes -----------------------------------------------------------------
rockthemes_pals <- rockthemes:::rock_palettes

## RSkittleBrewer -------------------------------------------------------------
RSkittleBrewer_name <- c("original", "tropical", "wildberry", "M&M", "smarties")
RSkittleBrewer_pals <- lapply(mapply(RSkittleBrewer::RSkittleBrewer,
Expand Down Expand Up @@ -417,6 +420,7 @@ palettes_d <- list(
rcartocolor = rcartocolors_pals,
RColorBrewer = rcolorbrewer_pals,
Redmonder = redmonder_pals,
rockthemes = rockthemes_pals,
RSkittleBrewer = RSkittleBrewer_pals,
rtist = rtist_pals,
soilpalettes = soilpalettes_pals,
Expand Down
Binary file modified data/paletteer_packages.rda
Binary file not shown.
Binary file modified data/palettes_d.rda
Binary file not shown.
Binary file modified data/palettes_d_names.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions man/palettes_d.Rd

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

4 changes: 2 additions & 2 deletions man/palettes_d_names.Rd

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

Loading

0 comments on commit 2a865ee

Please sign in to comment.