Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: encode_colour() and _native() allow na_value #38

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
NEWS: Add entry for na_value support
  • Loading branch information
zeehio committed Sep 19, 2022
commit b855431ba55d3ba05f72d01ca63a500b55590902
7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
a contiguous matrix anymore, but rather you can `list()` them (#36, @zeehio).

* `encode_native()` is faster now. It avoids going through an intermediate character
vector representation (#375, @zeehio).
vector representation (#37, @zeehio).

* `encode_colour()` and `encode_native()` accept a `na_value` argument to specify
a color that can be used as a fallback if the color to convert contains `NA`s
or it can not be represented in the RGB space. (#38, @zeehio)


# farver 2.1.1

Expand Down