This is the development version of unikn, available at https://github.com/hneth/unikn/.
This version corresponds to the release of unikn (v1.0.0). [2024-04-16]
Changes since last release:
- none yet.
- none yet.
- Update unicol information and online documentation.
The current development version of unikn is available at https://github.com/hneth/unikn/.
This release of unikn (v1.0.0) mostly acknowledges the package's stable state. [2024-04-16]
Changes since last release:
- When
seecol()
compares a list of color palettes:- Add a
scale_x
option to scale palettes to a fixed total width; - Use list element names of the
pal
argument as default names.
- Add a
url_unikn()
prints an en-dash, rather than a figure dash (as the latter created issues on Fedora Linux systems).newpal()
providespattern
andreplacement
arguments (to allow for REGEX operations on colornames
).
- Add a new hexagon logo.
- Deprecate
pal = "add"
keyword forseecol()
. - Reduce number of examples and image sizes.
- Update unicol references from GitHub to CRAN.
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:
- Migrated all color palettes from other institutions to a dedicated R\ package unicol.
-
Add user feedback when
newpal()
usescol
andnames
of different lengths. -
Add
is_col_pal()
utility function.
- Update status badges in
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:
- Add color palettes of many academic institutions (migrated to R\ package unicol).
- Updated color palettes (migrated to R\ package unicol).
- Replace use of crayon package by use of cli package.
- Add utility functions
col_asif_alpha()
andv_col_asif_alpha()
. - Revise vignettes.
- Fix some bugs.
This release of unikn (v0.7.0) adds and improves functionality and fixes some bugs. [2022-11-10]
Changes since last release:
- Add color palettes of additional institutions (evaluate
seecol("add")
for palettes). - Add a
type = 'curve'
option todemopal()
for evaluating transparent color palettes.
-
Improve
demopal()
function:- Align point colors for
type = "scatter"
to those of other options. - Increase robustness by allowing alternative
type
inputs. - Pass
...
to auxiliary functions.
- Align point colors for
-
Improve
newpal()
function:- Enforce return of vectors when
as_df = FALSE
. - Revise
names
to enable automatic naming and non-named palettes.
- Enforce return of vectors when
-
Bug fixes:
- Handle
length(pal) == 1
case for all types ofdemopal()
. - Handle
alpha = NA
case indemopal()
. - Handle
pal = NA
case inseecol()
andusecol()
.
- Handle
- Call for contributions of user-generated color palettes from other institutions (see GitHub issue).
- Fine-tune parameters of plotting HEX values with
seecol()
. - Reorganize files of utility functions.
- Add Zenodo doi 10.5281/zenodo.7096191 for citations.
- Revise and update vignettes.
This release of unikn (v0.6.0) adds and revises functionality and fixes some bugs. [2022-09-20]
Changes since last release:
- Add a
demopal()
function for illustrating color palettes. - In
xbox()
: Add ause_x
argument for hiding or showing a cross in upper right corner (defaultuse_x = TRUE
). - In
seecol()
: Deprecate thetitle
argument and replace by standardmain
andsub
arguments.
- Enable probabilistic welcoming messages.
- Enable crayon styles for console text.
- Add options to internal
col_distinct()
function. - Fix a bug in
grepal()
that caused an error when no color is found. - Maintenance:
- Rename utility functions
isCol()
andisHexCol()
tois_col()
andis_hex_col()
. - Distribute color functions into separate files.
- Rename utility functions
This release of unikn (v0.5.0) adds new functionality and fixes some bugs. [2022-08-15]
Changes since last release:
- Add a
simcol()
function to find similar colors. - Add an
ac()
function as a flexible wrapper ofgrDevices::adjustcolor()
. - Add a
shades_of()
function to conveniently getn
\ shades of a color.
- Add a
plot
argument togrepal()
andsimcol()
to visualize results. - Add a
distinct
argument tousecol()
andsimcol()
to remove visual duplicates. - Add utility functions for obtaining color transparency values (
get_alpha()
), quantifying color distance (col_distance()
), and detecting and filtering visual duplicates (col_distinct()
). - Add an
x_layout
argument to control horizontal positions of text labels (e.g., by numeric increments, centering, right-adjusted).
- Fix some bugs in README and vignettes.
slide()
now uses thedim
argument.
This release of unikn (v0.4.0) adds new functionality, tweaks aesthetics, and fixes a bug. [2021-03-27]
Changes since last release:
- Add a
grepal()
function to match patterns in the names ofcolors()
or color palettes. - Change color sequence of
pal_unikn_pref
to increase contrast between adjacent colors.
- Add
mar_note
argument toseecol()
for margin note option. - Add two new vignettes (on "Color recipes" and "Institutional colors").
- Fine-tune aesthetics of
theme_unikn()
andtheme_grau()
for use with ggplot2. - Add Travis support for GitHub builds.
- Adjust display of HEX codes in
seecol()
:
Show HEX codes on two alternating lines (or with diagonal labels) when length of codes exceed line length(s).
This release of unikn (v0.3.0) adds functionality and fixes some bugs. [2020-08-24]
Changes since last release:
- Add
theme_grau()
to provide an alternative ggplot2 theme.
- Add
pal_names
argument toseecol()
function to allow re-labeling color palettes and colors.
- Bug fix: Use
seecol()
to flexibly plot color palettes provided by name or incomplete names. - Revise documentation of
seecol()
andusecol()
functions. - Clean up and update online documentation.
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:
- Add a
newpal()
function for defining new color palettes (as a named vector or data frame). - Add a
theme_unikn()
function to provide a basic ggplot2 theme.
Changes in existing functionality:
- Add a
col_bg
argument to theseecol()
function to allow setting background color. - Add a
title
argument to theseecol()
function to allow overwriting the default title (created whentitle = NA
). - Add
lwd_brd
argument to theseecol()
function to allow setting the linewidth of shapes (and setting sensible defaults in combination withcol_brd
).
- Bug fix: Correct an error in
seecol()
andusecol()
that prevented use in other packages (by requiring list of palettes). - Bug fix: Prevent showing duplicate color names in
seecol()
, due to searching both the current set of color palettes and base Rcolors()
. Different names for the same color are now separated by a forward slash (/), duplicates are removed before naming. - Bug fix: Allow
isHexCol()
to recognize hexadecimal color values starting with lowercase letters. - Cleanup: Remove packages not needed from list of suggested packages.
- Initial release of unikn (v0.1.0) on CRAN: https://CRAN.R-project.org/package=unikn. [2019-06-15]
[File NEWS.md
updated on 2024-10-20.]