NEWS.md
This release of unikn (v1.0.0) mostly acknowledges the package’s stable state. [2024-04-16]
Changes since last release:
seecol()
compares a list of color palettes:
scale_x
option to scale palettes to a fixed total width;pal
argument as default names.url_unikn()
prints an en-dash, rather than a figure dash (as the latter created issues on Fedora Linux systems).newpal()
provides pattern
and replacement
arguments (to allow for REGEX operations on color names
).pal = "add"
keyword for seecol()
.The current development version of unikn is available at https://github.com/hneth/unikn/.
This release of unikn (v0.9.0) reduces its functionality by migrating some color palettes to a new R package unicol. [2023-08-09]
Changes since last release:
Add user feedback when newpal()
uses col
and names
of different lengths.
Add is_col_pal()
utility function.
README
.The current development version of unikn is available at https://github.com/hneth/unikn/.
This release of unikn (v0.8.0) extends its functionality to additional color palettes. [2023-01-06]
Changes since last release:
This release of unikn (v0.7.0) adds and improves functionality and fixes some bugs. [2022-11-10]
Changes since last release:
seecol("add")
for palettes).type = 'curve'
option to demopal()
for evaluating transparent color palettes.demopal()
function:
type = "scatter"
to those of other options.type
inputs....
to auxiliary functions.newpal()
function:
as_df = FALSE
.names
to enable automatic naming and non-named palettes.seecol()
.This release of unikn (v0.6.0) adds and revises functionality and fixes some bugs. [2022-09-20]
Changes since last release:
col_distinct()
function.grepal()
that caused an error when no color is found.isCol()
and isHexCol()
to is_col()
and is_hex_col()
.This release of unikn (v0.5.0) adds new functionality and fixes some bugs. [2022-08-15]
Changes since last release:
simcol()
function to find similar colors.ac()
function as a flexible wrapper of grDevices::adjustcolor()
.shades_of()
function to conveniently get n
shades of a color.plot
argument to grepal()
and simcol()
to visualize results.distinct
argument to usecol()
and simcol()
to remove visual duplicates.get_alpha()
), quantifying color distance (col_distance()
), and detecting and filtering visual duplicates (col_distinct()
).x_layout
argument to control horizontal positions of text labels (e.g., by numeric increments, centering, right-adjusted).This release of unikn (v0.4.0) adds new functionality, tweaks aesthetics, and fixes a bug. [2021-03-27]
Changes since last release:
mar_note
argument to seecol()
for margin note option.theme_unikn()
and theme_grau()
for use with ggplot2.seecol()
:This release of unikn (v0.3.0) adds functionality and fixes some bugs. [2020-08-24]
Changes since last release:
theme_grau()
to provide an alternative ggplot2 theme.pal_names
argument to seecol()
function to allow re-labeling color palettes and colors.This version of unikn (v0.2.0) is a maintenance release, adding some functionality, but primarily fixing bugs. [2019-09-25]
Changes since last release:
New functionality:
newpal()
function for defining new color palettes (as a named vector or data frame).theme_unikn()
function to provide a basic ggplot2 theme.Changes in existing functionality:
col_bg
argument to the seecol()
function to allow setting background color.title
argument to the seecol()
function to allow overwriting the default title (created when title = NA
).lwd_brd
argument to the seecol()
function to allow setting the linewidth of shapes (and setting sensible defaults in combination with col_brd
).seecol()
and usecol()
that prevented use in other packages (by requiring list of palettes).seecol()
, due to searching both the current set of color palettes and base R colors()
. Different names for the same color are now separated by a forward slash (/), duplicates are removed before naming.isHexCol()
to recognize hexadecimal color values starting with lowercase letters.[File NEWS.md
updated on 2024-04-16.]