Skip to content

Commit

Permalink
add PrettyCols
Browse files Browse the repository at this point in the history
to close #126
  • Loading branch information
EmilHvitfeldt committed Jan 21, 2024
1 parent 690c25b commit 9771ed5
Show file tree
Hide file tree
Showing 13 changed files with 350 additions and 5 deletions.
7 changes: 7 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
Expand Up @@ -482,3 +482,10 @@ MoMAColors palettes
By: Blake Robert Mills
License: MIT + file LICENSE
https://github.com/BlakeRMills/MoMAColors/blob/main/LICENSE.md

---

PrettyCols palettes
By: Nicola Rennie
License: CC0
https://github.com/nrennie/PrettyCols/blob/main/LICENSE.md
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* 15 palettes have been added from vangogh package. (#133)
* 30 palettes have been added from ButterflyColors package. (#136)
* 35 palettes have been added from MoMAColors package. (#142)
* 32 palettes have been added from PrettyCols package. (#126)

# paletteer 1.5.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 @@ -60,7 +60,7 @@ you need for a smooth transition of color:

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

This package includes 2670 palettes from 71 different packages and
This package includes 2702 palettes from 72 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 @@ -144,6 +144,7 @@ paletteer_c("nord::frost")
| NineteenEightyR | [m-clark/NineteenEightyR - 0.1.0](https://github.com/m-clark/NineteenEightyR) | \- |
| PNWColors | [jakelawlor/PNWColors - 0.1.0](https://github.com/jakelawlor/PNWColors) | \- |
| Polychrome | \- | [1.5.1](https://CRAN.R-project.org/package=Polychrome) |
| PrettyCols | [nrennie/PrettyCols - 1.0.1.9001](https://github.com/nrennie/PrettyCols) | [1.0.1](https://CRAN.R-project.org/package=PrettyCols) |
| RColorBrewer | \- | [1.1.3](https://CRAN.R-project.org/package=RColorBrewer) |
| RSkittleBrewer | [alyssafrazee/RSkittleBrewer - 1.1](https://github.com/alyssafrazee/RSkittleBrewer) | \- |
| Redmonder | \- | [0.2.0](https://CRAN.R-project.org/package=Redmonder) |
Expand Down
1 change: 1 addition & 0 deletions data-raw/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ paletteer_packages <- tibble::tribble(
"PNWColors", "jakelawlor/PNWColors", "0.1.0", FALSE, NA,
"Polychrome", NA, NA, TRUE, "1.5.1",
"popthemes", "johnmackintosh/popthemes", "0.0.0.9000", FALSE, NA,
"PrettyCols", "nrennie/PrettyCols", "1.0.1.9001", TRUE, "1.0.1",
"rcartocolor", "Nowosad/rcartocolor", "2.1.1", TRUE, "2.1.1",
"RColorBrewer", NA, NA, TRUE, "1.1.3",
"Redmonder", NA, NA, TRUE, "0.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 @@ -352,6 +352,9 @@ Polychrome_pals <- lapply(
## popthemes ------------------------------------------------------------------
popthemes_pals <- popthemes:::pop_palettes

## PrettyCols -----------------------------------------------------------------
PrettyCols_pals <- lapply(PrettyCols::PrettyColsPalettes, function(x) x[[1]])

## rcartocolor ----------------------------------------------------------------
rcartocolors_pals <- lapply(
rcartocolor::cartocolors$Name,
Expand Down Expand Up @@ -520,6 +523,7 @@ palettes_d <- list(
palettesForR = palettesForR_pals,
peRReo = peRReo_pals,
PNWColors = PNWColors_pals,
PrettyCols = PrettyCols_pals,
rcartocolor = rcartocolors_pals,
RColorBrewer = rcolorbrewer_pals,
Redmonder = redmonder_pals,
Expand Down
32 changes: 32 additions & 0 deletions data-raw/palettes_d_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,38 @@ palettes_d_names <- tibble::tribble(
"PNWColors", "Mushroom", 6L, "sequential", TRUE,
"PNWColors", "Sunset2", 5L, "sequential", TRUE,
"PNWColors", "Anemone", 7L, "divergent", TRUE,
"PrettyCols", "Blues", 5L, "sequential", FALSE,
"PrettyCols", "Purples", 5L, "sequential", FALSE,
"PrettyCols", "Tangerines", 5L, "sequential", FALSE,
"PrettyCols", "Greens", 5L, "sequential", FALSE,
"PrettyCols", "Pinks", 5L, "sequential", FALSE,
"PrettyCols", "Teals", 5L, "sequential", FALSE,
"PrettyCols", "Yellows", 5L, "sequential", FALSE,
"PrettyCols", "Reds", 5L, "sequential", FALSE,
"PrettyCols", "PurpleGreens", 9L, "divergent", FALSE,
"PrettyCols", "PinkGreens", 9L, "divergent", FALSE,
"PrettyCols", "TangerineBlues", 9L, "divergent", FALSE,
"PrettyCols", "PurpleTangerines", 9L, "divergent", FALSE,
"PrettyCols", "PurplePinks", 9L, "divergent", FALSE,
"PrettyCols", "TealGreens", 9L, "divergent", FALSE,
"PrettyCols", "PurpleYellows", 9L, "divergent", FALSE,
"PrettyCols", "RedBlues", 9L, "divergent", FALSE,
"PrettyCols", "Bold", 5L, "qualitative", FALSE,
"PrettyCols", "Dark", 5L, "qualitative", FALSE,
"PrettyCols", "Light", 5L, "qualitative", FALSE,
"PrettyCols", "Neon", 6L, "qualitative", FALSE,
"PrettyCols", "Summer", 12L, "qualitative", FALSE,
"PrettyCols", "Autumn", 12L, "qualitative", FALSE,
"PrettyCols", "Winter", 12L, "qualitative", FALSE,
"PrettyCols", "Rainbow", 12L, "qualitative", FALSE,
"PrettyCols", "Beach", 5L, "qualitative", FALSE,
"PrettyCols", "Fun", 5L, "qualitative", FALSE,
"PrettyCols", "Sea", 5L, "qualitative", FALSE,
"PrettyCols", "Bright", 5L, "qualitative", FALSE,
"PrettyCols", "Relax", 5L, "qualitative", FALSE,
"PrettyCols", "Lucent", 5L, "qualitative", FALSE,
"PrettyCols", "Lively", 5L, "qualitative", FALSE,
"PrettyCols", "Joyful", 5L, "qualitative", FALSE,
"rcartocolor", "ag_Sunset", 7L, "sequential", FALSE,
"rcartocolor", "ag_GrnYl", 7L, "sequential", FALSE,
"rcartocolor", "Tropic", 7L, "divergent", FALSE,
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 9771ed5

Please sign in to comment.