Skip to content

Releases: hneth/unikn

unikn 1.0.0

16 Apr 19:14
Compare
Choose a tag to compare

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_x option to scale palettes to a fixed total width;
    • Use list element names of the pal argument as default names.

Minor changes

  • 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).

Details

  • Add a new hexagon logo.
  • Deprecate pal = "add" keyword for seecol().
  • Reduce number of examples and image sizes.
  • Update unicol references from GitHub to CRAN.

The current development version of unikn is available at https://github.com/hneth/unikn/.

unikn 0.9.0

10 Aug 15:18
Compare
Choose a tag to compare

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() uses col and names of 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

06 Jan 10:51
Compare
Choose a tag to compare

This release of unikn (v0.8.0) extends its functionality to additional color palettes. [2023-01-06]

Changes since last release:

Major changes

Minor changes

  • Updated color palettes:

    • ETH Zurich: Renamed eth_pal, eth_pal_light, eth_pal_grey
      to eth_pal_1, eth_pal_2, eth_pal_3, respectively
    • Max Planck Society: mpg_pal (based on RGB values and extended to 5 colors)
    • University of Freiburg: uni_freiburg_0, uni_freiburg_1, uni_freiburg_2,
      (added to palettes from\ 2022: uni_freiburg_br, uni_freiburg_blue, uni_freiburg_grey, uni_freiburg_info)
    • University of Konstanz: Renamed uni_konstanz and uni_konstanz_pref
      to uni_konstanz_1 and uni_konstanz_2, respectively

Details

  • Replace use of crayon package by use of cli package.
  • Add utility functions col_asif_alpha() and v_col_asif_alpha().
  • Revise vignettes.
  • Fix some bugs.

The current development version of unikn is available at https://github.com/hneth/unikn/.

unikn 0.7.0

10 Nov 07:52
Compare
Choose a tag to compare

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 to demopal() 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 type inputs.
    • Pass ... to auxiliary functions.
  • Improve newpal() function:

    • Enforce return of vectors when as_df = FALSE.
    • Revise names to enable automatic naming and non-named palettes.
  • Bug fixes:

    • Handle length(pal) == 1 case for all types of demopal().
    • Handle alpha = NA case in demopal().
    • Handle pal = NA case in seecol() and usecol().

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.

The current development version of unikn is available at https://github.com/hneth/unikn/.

unikn 0.6.0

20 Sep 09:20
Compare
Choose a tag to compare

unikn 0.6.0

This release of unikn (v0.6.0) adds and revises functionality and fixes some bugs. [2022-09-20]

Changes since last release:

Major changes

  • Add a demopal() function for illustrating color palettes. [2022-09-19]
  • In xbox(): Add a use_x argument for hiding or showing a cross in upper right corner (default use_x = TRUE). [2022-08-30]
  • In seecol(): Deprecate the title argument and replace by standard main and sub arguments. [2022-08-19]

Minor changes

  • Enable probabilistic welcoming messages. [2022-09-04]
  • Enable crayon styles for console text. [2022-08-31]

Details

  • Add options to internal col_distinct() function. [2022-09-03]
  • Fix a bug in grepal() that caused an error when no color is found. [2022-09-03]
  • Maintenance:
    • Rename utility functions isCol() and isHexCol() to is_col() and is_hex_col(). [2022-08-20]
    • Distribute color functions into separate files. [2022-08-17]

The current development version of unikn is available at https://github.com/hneth/unikn/.

unikn 0.5.0

15 Aug 09:36
Compare
Choose a tag to compare

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. [2022-08-10]
  • Add an ac() function as a flexible wrapper of grDevices::adjustcolor(). [2022-01-02]
  • Add a shades_of() function to conveniently get n\ shades of a color. [2021-04-06]

Minor changes

  • Add a plot argument to grepal() and simcol() to visualize results. [2022-08-12]
  • Add a distinct argument to usecol() and simcol() to remove visual duplicates. [2022-08-11]
  • Add utility functions for obtaining color transparency values (get_alpha()),
    quantifying color distance (col_distance()), and
    detecting and filtering visual duplicates (col_distinct()). [2022-08-11]
  • Add an x_layout argument to control horizontal positions of text labels (e.g., by numeric increments, centering, right-adjusted). [2021-04-24]

Bug fixes

  • Fix some bugs in README and vignettes. [2021-04-29]
  • slide() now uses the dim argument. [2021-04-24]

The current development version of unikn (0.5.0.9001+) is available at https://github.com/hneth/unikn/.

unikn 0.4.0

27 Mar 09:11
Compare
Choose a tag to compare

unikn 0.4.0

This release of unikn (v0.4.0) adds new functionality, tweaks aesthetics, and fixes a bug. [2021-03-27]

Changes since last release:

Major changes

  • Added a grepal() function to conveniently search colors() or color palettes by name. [2020-12-18]

  • Changed color sequence of pal_unikn_pref to increase contrast between adjacent colors. [2020-09-04]

Minor changes

  • Added mar_note argument to seecol() for margin note option. [2021-01-05]

  • Added two new vignettes (on "Color recipes" and "Institutional colors"). [2020-12-18]

  • Fine-tuned aesthetics of theme_unikn() and theme_grau() for use with ggplot2. [2020-08-27]

  • Added Travis support for GitHub builds. [2020-08-25]

Bug fixes

  • 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). [2020-12-26]

The current development version of unikn (0.4.0.9001+) is available at https://github.com/hneth/unikn/.

unikn 0.3.0

24 Aug 14:42
Compare
Choose a tag to compare

A new version of the R package unikn is available on CRAN.

This release of unikn (version 0.3.0) adds some functionality and fixes some bugs.

Please use responsibly!

Cheers,
Hans Neth and Nico Gradwohl

unikn 0.2.0 on CRAN

25 Sep 15:22
Compare
Choose a tag to compare

This is mostly a maintenance release, adding some new functionality, but primarily fixing bugs (see file NEWS.md --- e.g., at https://hneth.github.io/unikn/news/ --- for details).

Getting unikn 0.2.0 from CRAN: https://CRAN.R-project.org/package=unikn

Please use responsibly!

Cheers,
Hans Neth and Nico Gradwohl

initial release on CRAN

15 Jun 08:29
Compare
Choose a tag to compare

The unikn package is now available on CRAN:

This means that it can be conveniently installed on any R system by calling:
install.packages('unikn') (assuming a connection to the CRAN cloud).

Happy unikning — and please use responsibly!