Skip to content

Commit

Permalink
CRAN 0.6
Browse files Browse the repository at this point in the history
mtennekes committed Feb 2, 2023
1 parent 69d8402 commit c40d00b
Showing 3 changed files with 17 additions and 15 deletions.
14 changes: 10 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -36,19 +36,25 @@ knitr::knit_hooks$set(output = function(x, options) {

# Colors for all! <img src='inst/img/cols4all_logo.png' align="right" height="139" />

[![CRAN](http://www.r-pkg.org/badges/version/cols4all)](https://cran.r-project.org/package=cols4all)
[![cran checks](https://cranchecks.info/badges/worst/cols4all)](https://cran.r-project.org/web/checks/check_results_cols4all.html)
[![Downloads](http://cranlogs.r-pkg.org/badges/cols4all?color=brightgreen)](http://www.r-pkg.org/pkg/cols4all)

The **cols4all** is a new R package for selecting color palettes. "Color for all" refers to our mission that colors should be usable for not just people with normal color vision, but also for people with color vision deficiency. Currently, this package contains palettes from several popular and lesser known color palette series. Own palettes series can be added as well.

Color palettes are well organized and made consistent with each other. Moreover, they are scored on several aspects: color-blind-friendliness, the presence of intense colors (which should be avoided), the overall aesthetic harmony, and how many different hues are used. Finally, for each color palette a color for missing values is assigned, which is especially important for spatial data visualization. Currently we support several types: *categorical* (qualitative) palettes, *sequential* palettes, *diverging* palettes, and *bivariate* palettes (divided into four subtypes).

## Installation

**cols4all** will be available on CRAN in January or February this year (2023). Until then it can be installed using:
**cols4all** is available on CRAN:

```{r, eval=FALSE}
# colorspace 2.1 required:
install.packages("colorspace", repos = "https://R-Forge.R-project.org")
install.packages("cols4all", dependencies = TRUE)
```

# development (github) version of cols4all
The development version can be installed as follows:

```{r, eval=FALSE}
install.packages("remotes")
remotes::install_github("mtennekes/cols4all", dependencies = TRUE)
```
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

[![CRAN](http://www.r-pkg.org/badges/version/cols4all)](https://cran.r-project.org/package=cols4all)
[![cran
checks](https://cranchecks.info/badges/worst/cols4all)](https://cran.r-project.org/web/checks/check_results_cols4all.html)
[![Downloads](http://cranlogs.r-pkg.org/badges/cols4all?color=brightgreen)](http://www.r-pkg.org/pkg/cols4all)

<!-- README.md is generated from README.Rmd. Please edit that file -->

# Colors for all! <img src='inst/img/cols4all_logo.png' align="right" height="139" />
@@ -7,17 +12,8 @@ The **cols4all** is a new R package for selecting color palettes. “Color
for all” refers to our mission that colors should be usable for not just
people with normal color vision, but also for people with color vision
deficiency. Currently, this package contains palettes from several
popular and lesser known color palette series: [Color
Brewer](https://colorbrewer2.org),
[Viridis](http://bids.github.io/colormap/),
[Kovesi](https://colorcet.com/), [Paul
Tol](https://personal.sron.nl/~pault/),
[Scico](https://www.fabiocrameri.ch/colourmaps/),
[Carto](https://carto.com/carto-colors/),
[Tableau](https://www.tableau.com/about/blog/2016/7/colors-upgrade-tableau-10-56782),
[Wes Anderson](https://github.com/karthik/wesanderson), and
[Seaborn](https://seaborn.pydata.org/tutorial/color_palettes.html). Own
palettes series can be added as well.
popular and lesser known color palette series. Own palettes series can
be added as well.

Color palettes are well organized and made consistent with each other.
Moreover, they are scored on several aspects: color-blind-friendliness,
Binary file modified man/figures/README-unnamed-chunk-9-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c40d00b

Please sign in to comment.