pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/R-colorspace



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Jun  6 06:19:31 UTC 2021

Modified Files:
        pkgsrc/graphics/R-colorspace: Makefile distinfo

Log Message:
(graphics/R-colorspace) Updated 1.4.1 to 2.0.1

# colorspace 2.0-1

* Added two new palettes from the viridis family (_viridis_/_viridisLite_),
  namely `"Rocket"` and `"Mako"` in `sequential_hcl()`.

* Assure that all `do.call()` for the `ggplot2` scale functions are made with
  `envir = parent.frame()` in order to avoid problems with non-standard
  evaluation, as reported in:
  <https://stackoverflow.com/questions/66049336/paste-name-in-scale-fill-color-in-colorspace-does-not-work-in-a-loop>

* New function `extract_transparency()` for extracting alpha transparency
  from color specifications, either as numeric, integer, character or hexmode vectors.
  This accompanies the previously available function `adjust_transparency()`
  allowing for more flexible modifications of alpha transparencies in colors.

# colorspace 2.0-0

* Release of version 2.0-0 accompanying the publication of the paper
  "colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes"
  in the _Journal of Statistcal Software_ at <https://doi.org/10.18637/jss.v096.i01>.
  The paper is a compact version of the package web page
  (<https://colorspace.R-Forge.R-project.org/>) including some more discussion
  of related methods and software along with some more references to the
  scientific literature.

* New function `adjust_transparency()` that adjusts the alpha transparency
  of some color specification and returns a hexadecimal string where
  the alpha component is modified, added, or removed.

* Added three more palettes from Fabio Crameri's scientific color maps
  (_scico_), namely `"Hawaii"` and `"Batlow"` in `sequential_hcl()` and
  `"Roma"` in `divergingx_hcl()`.

* Additional option `cvd` in `swatchplot()` so that color vision deficiency
  emulation can be included on the fly.

* Added _binned_ _ggplot2_ color scales (in addition to _discrete_ and
  _continuous_).

* Changed the default colors in `specplot()` from `rainbow_hcl(3)` to
  `qualitative_hcl(3)` which is darker and has more chroma. Also, the order
  of the legend has been reversed (Luminance / Chroma / Hue) so that the
  legend labels are closer to the axis that they pertain to.

* Improve the documentation of the `LUV()` and `LAB()` color spaces,
  pointing out that the `U`/`V` and `A`/`B` coordinates are _typically_
  in [-100, 100] but can actually be exceeded by highly saturated colors.

* Bug fix in `diverging_hcl()` and `divergingx_hcl()` where the central color
  of the diverging palette could sometimes collapse to transparent white
  due to numerical inaccuracies on 32-bit platforms.

* Improve the documentation of the `HSV()` and `HLS()` color spaces.
  These do NOT necessarily correspond to sRGB;  we can convert from
  these to any RGB space that we choose (linear or non-linear,
  any whitepoint).  In particular, if we want to convert from one of
  these color spaces to XYZ or beyond, we must first convert to a
  specific RGB color space.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/R-colorspace/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/R-colorspace/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/R-colorspace/Makefile
diff -u pkgsrc/graphics/R-colorspace/Makefile:1.4 pkgsrc/graphics/R-colorspace/Makefile:1.5
--- pkgsrc/graphics/R-colorspace/Makefile:1.4   Thu Aug  8 19:53:42 2019
+++ pkgsrc/graphics/R-colorspace/Makefile       Sun Jun  6 06:19:31 2021
@@ -1,13 +1,19 @@
-# $NetBSD: Makefile,v 1.4 2019/08/08 19:53:42 brook Exp $
+# $NetBSD: Makefile,v 1.5 2021/06/06 06:19:31 mef Exp $
 
 R_PKGNAME=     colorspace
-R_PKGVER=      1.4-1
+R_PKGVER=      2.0-1
 CATEGORIES=    graphics
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 COMMENT=       Toolbox for manipulating and assessing colors and palettes
 LICENSE=       modified-bsd
 
+# Packages suggested but not available:
+#  'kernlab', 'mvtnorm', 'vcd', 'shinyjs', 'ggplot2', 'dplyr',
+#  'scales', 'png', 'jpeg', 'rcartocolor', 'scico', 'viridis',
+#  'wesanderson'
+TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
+
 USE_LANGUAGES= c
 
 .include "../../math/R/Makefile.extension"

Index: pkgsrc/graphics/R-colorspace/distinfo
diff -u pkgsrc/graphics/R-colorspace/distinfo:1.2 pkgsrc/graphics/R-colorspace/distinfo:1.3
--- pkgsrc/graphics/R-colorspace/distinfo:1.2   Wed Jul 31 16:01:57 2019
+++ pkgsrc/graphics/R-colorspace/distinfo       Sun Jun  6 06:19:31 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/07/31 16:01:57 brook Exp $
+$NetBSD: distinfo,v 1.3 2021/06/06 06:19:31 mef Exp $
 
-SHA1 (R/colorspace_1.4-1.tar.gz) = c388734273ab3d9d13f4f90e6b85d9cd80952cf6
-RMD160 (R/colorspace_1.4-1.tar.gz) = 6fb6c30dbc0ad766c52d51aa6ae38509aed9f7e6
-SHA512 (R/colorspace_1.4-1.tar.gz) = 70b9c30a29ab55963cb1424cf3d13ec5d57cf632864dd33e7f2a8b3d8898defb94c2353352f4fa70ecc467bad6543693e6f5ed31a589b107c7b6960614533ad4
-Size (R/colorspace_1.4-1.tar.gz) = 2152594 bytes
+SHA1 (R/colorspace_2.0-1.tar.gz) = 7d64fb52df6b2e2fea3efce10f5e0971b1cdb181
+RMD160 (R/colorspace_2.0-1.tar.gz) = ddc9d72bd5237c326d3525b300de23788f48c718
+SHA512 (R/colorspace_2.0-1.tar.gz) = 59a84c3d08370e6818b26501400c74340fce283e73d549fec53e62c0ae47d476be65a589e8f35cbd17866ce8fbe926bc14021d8196bc82dc2abeec8a0cfd0db7
+Size (R/colorspace_2.0-1.tar.gz) = 2193384 bytes



Home | Main Index | Thread Index | Old Index