unikn 1.1.0.9004
This is the development version of unikn, available at https://github.com/hneth/unikn/.
Changes since last release:
Minor changes
- Extend
plot_cube()function:- Accept a list of color groups (via
x): Each group is drawn as a point (1 color), line (2 colors), or plane (3+ colors), for direct control over which colors are linked. - Add a
type = "box"option to plot colors as 3D boxes in RGB space, sized vian_boxes(cube side = 255 /n_boxes). Faces show each color’s true value by default;shade = TRUEadds a subtle 3D effect (keeping the visible face’s color faithful). - Revise plane outlines: Draw only the outer edges of a plane (no longer the inner diagonals of polygons with 4+ colors), as thin color gradients (or in a solid
col_line), with a newlwd_outlineargument (default: 1; 0: no outline), so thatlwd_lineonly affects connecting lines.
- Accept a list of color groups (via
- Extend
demopal()function:- Add a
"shapes"plot type, support for several types at once (a vector, ortype = "all", arranged in a grid), passing a palette by its name (as a string), aseedargument (for reproducible random types), and returning the plotted data invisibly. - Revise
plot_shapes(): Arrange colors as auto-sized shapes on a near-square grid, choose the shape symbol (pch) and border color (col_par), set the color order (order:"keep"/"shuffle"/"rev"/custom), and label colors by names, HEX, or RGB values (labels), placed below or in each shape (label_pos).
- Add a
Details
- Bug fixes to
demopal():- Bound the number of bar categories (in
plot_bar()) so that a largen(e.g., fromtype = "all") no longer overwhelms a bar plot - Truncate an over-long auto-generated
pal_nameso that it no longer overflows the plot subtitle. - Several plot types (e.g.,
type = "all") now start a new page, rather than drawing over the current plot.
- Bound the number of bar categories (in
- Update examples and documentation.
The current development version of unikn is available at https://github.com/hneth/unikn/.
unikn 1.1.0
CRAN release: 2026-11-11
This release of unikn (v1.1.0) adds functionality and fixes some bugs. [2026-11-11]
Changes since last release:
Major changes
- Add
cube = TRUEoption toseecol()to view a color palette in a 3D RGB color cube (usingplot_cube()). - Add
plot_cube()for illustrating colors and color palettes as points, lines, and planes in a 3D RGB color cube. - Add
theme_bwkn()andtheme_minikn()as clean, light, and subtle ggplot2 themes.
Minor changes
- Tweak
theme_unikn()andtheme_grau()for consistency with new ggplot2 themes. - Fix some bugs in themes for recent versions of ggplot2 (e.g., replacing
sizebylinewidtharguments).
Details
- Package maintenance:
- Add DOI 10.5281/zenodo.7096191 to citation info
- Update references to unicol R package
- Add DOI 10.5281/zenodo.7096191 to citation info
unikn 1.0.0
CRAN release: 2024-04-16
This release of unikn (v1.0.0) mostly acknowledges the package’s stable state. [2024-04-16]
Changes since last release:
Major changes
- When
seecol()compares a list of color palettes:- Add a
scale_xoption to scale palettes to a fixed total width; - Use list element names of the
palargument as default names.
- Add a
Minor changes
-
url_unikn()prints an en-dash, rather than a figure dash (as the latter created issues on Fedora Linux systems). -
newpal()providespatternandreplacementarguments (to allow for REGEX operations on colornames).
Details
- Add a new hexagon logo.
- Deprecate
pal = "add"keyword forseecol(). - Reduce number of examples and image sizes.
- Update unicol references from GitHub to CRAN.
unikn 0.9.0
CRAN release: 2023-08-10
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:
Major changes
- Migrated all color palettes from other institutions to a dedicated R package unicol.
Minor changes
Add user feedback when
newpal()usescolandnamesof different lengths.Add
is_col_pal()utility function.
Details
- Update status badges in
README.
The current development version of unikn is available at https://github.com/hneth/unikn/.
unikn 0.8.0
CRAN release: 2023-01-06
This release of unikn (v0.8.0) extends its functionality to additional color palettes. [2023-01-06]
Changes since last release:
Major changes
- Add color palettes of many academic institutions (migrated to R package unicol).
Minor changes
- Updated color palettes (migrated to R package unicol).
unikn 0.7.0
CRAN release: 2022-11-10
This release of unikn (v0.7.0) adds and improves functionality and fixes some bugs. [2022-11-10]
Changes since last release:
Major changes
- Add color palettes of additional institutions (evaluate
seecol("add")for palettes). - Add a
type = 'curve'option todemopal()for evaluating transparent color palettes.
Minor changes
- Improve
demopal()function:- Align point colors for
type = "scatter"to those of other options. - Increase robustness by allowing alternative
typeinputs. - Pass
...to auxiliary functions.
- Align point colors for
- Improve
newpal()function:- Enforce return of vectors when
as_df = FALSE. - Revise
namesto enable automatic naming and non-named palettes.
- Enforce return of vectors when
- Bug fixes:
Details
- 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.
unikn 0.6.0
CRAN release: 2022-09-20
This release of unikn (v0.6.0) adds and revises functionality and fixes some bugs. [2022-09-20]
Changes since last release:
Details
- 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
unikn 0.5.0
CRAN release: 2022-08-15
This release of unikn (v0.5.0) adds new functionality and fixes some bugs. [2022-08-15]
Changes since last release:
Major changes
- 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 getnshades of a color.
Minor changes
- Add a
plotargument togrepal()andsimcol()to visualize results. - Add a
distinctargument 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_layoutargument to control horizontal positions of text labels (e.g., by numeric increments, centering, right-adjusted).
unikn 0.4.0
CRAN release: 2021-03-27
This release of unikn (v0.4.0) adds new functionality, tweaks aesthetics, and fixes a bug. [2021-03-27]
Changes since last release:
Minor changes
- Add
mar_noteargument 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.
Details
- 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).
unikn 0.3.0
CRAN release: 2020-08-24
This release of unikn (v0.3.0) adds functionality and fixes some bugs. [2020-08-24]
Changes since last release:
Major changes
- Add
theme_grau()to provide an alternative ggplot2 theme.
Minor changes
- Add
pal_namesargument toseecol()function to allow re-labeling color palettes and colors.
unikn 0.2.0
CRAN release: 2019-09-25
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:
Major changes
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.
Minor changes
Changes in existing functionality:
- Add a
col_bgargument to theseecol()function to allow setting background color. - Add a
titleargument to theseecol()function to allow overwriting the default title (created whentitle = NA). - Add
lwd_brdargument to theseecol()function to allow setting the linewidth of shapes (and setting sensible defaults in combination withcol_brd).
Details
- 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.
unikn 0.1.0
CRAN release: 2019-06-15
- Initial release of unikn (v0.1.0) on CRAN: https://CRAN.R-project.org/package=unikn. [2019-06-15]
[File NEWS.md updated on 2026-11-25.]
