Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2019-03-19 03:34:02 -04:00
parent c3432a88b2
commit 62328d3ee7
4 changed files with 11 additions and 46 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/colorspace_1.3-2.tar.gz
/colorspace_1.4-0.tar.gz
/colorspace_1.4-1.tar.gz

View File

@ -1,24 +1,23 @@
%global packname colorspace
%global packvers 1.4-0
%global packvers 1.4-1
%global rlibdir %{_libdir}/R/library
# Not yet available.
%global with_suggests 0
Name: R-%{packname}
Version: 1.4.0
Version: 1.4.1
Release: 1%{?dist}
Summary: A Toolbox for Manipulating and Assessing Colors and Palettes
License: BSD
URL: https://CRAN.R-project.org/package=%{packname}
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
Patch0001: fix-rounding-error-output.patch
# Here's the R view of the dependencies world:
# Depends: R-methods
# Imports: R-graphics, R-grDevices, R-stats
# Suggests: R-datasets, R-utils, R-KernSmooth, R-MASS, R-kernlab, R-mvtnorm, R-vcd, R-tcltk, R-shiny, R-shinyjs, R-ggplot2, R-dplyr, R-scales, R-grid, R-png, R-jpeg, R-knitr, R-rmarkdown, R-RColorBrewer, R-rcartocolor, R-scico, R-viridis
# Suggests: R-datasets, R-utils, R-KernSmooth, R-MASS, R-kernlab, R-mvtnorm, R-vcd, R-tcltk, R-shiny, R-shinyjs, R-ggplot2, R-dplyr, R-scales, R-grid, R-png, R-jpeg, R-knitr, R-rmarkdown, R-RColorBrewer, R-rcartocolor, R-scico, R-viridis, R-wesanderson
# LinkingTo:
# Enhances:
@ -69,6 +68,7 @@ BuildRequires: R-RColorBrewer
BuildRequires: R-rcartocolor
BuildRequires: R-scico
BuildRequires: R-viridis
BuildRequires: R-wesanderson
%endif
%description
@ -78,7 +78,7 @@ Qualitative, sequential, and diverging color palettes based on HCL colors
are provided along with corresponding ggplot2 color scales. Color palette
choice is aided by an interactive app (with either a Tcl/Tk or a shiny
GUI) and shiny apps with an HCL color picker and a color vision
deficiency emulator. Plotting functions for displaying and assessing
deficiency emulator. Plotting functions for displaying and assessing
palettes include color swatches, visualizations of the HCL space, and
trajectories in HCL and/or RGB spectrum. Color manipulation functions
include: desaturation, lightening/darkening, mixing, and simulation of
@ -86,7 +86,7 @@ color vision deficiencies (deutanomaly, protanomaly, tritanomaly).
%prep
%autosetup -c -n %{packname} -p0
%setup -q -c -n %{packname}
%build
@ -130,6 +130,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%changelog
* Tue Mar 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-1
- Update to latest version
* Fri Feb 15 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.0-1
- Update to latest version

View File

@ -1,39 +0,0 @@
diff -uPNr colorspace.orig/MD5 colorspace/MD5
--- colorspace.orig/MD5 2019-01-13 08:01:42.000000000 -0500
+++ colorspace/MD5 2019-02-15 23:00:48.304703829 -0500
@@ -216,8 +216,8 @@
a46f3e8f7ffa1e75dfe3bf754e1180d4 *src/colorspace.c
4ac5ec142bab094f6dc821c7ec04d41e *src/init.c
a99184f15b513a8eb77df5ff72aa9d69 *tests/Examples/colorspace-Ex.Rout.save
-927a97c81819b7b7d848429114fc736a *tests/cvd.R
-810a058950a467918a465a30795e7679 *tests/cvd.Rout.save
+092ecccfedd12aae2f762225f54b77db *tests/cvd.R
+399cbe0c6f89c2be619f54b8565f83cf *tests/cvd.Rout.save
2425011e4fac8a79ccb11df2f7f1df75 *tests/palettes.R
973fbe71df3cdc9e20d142be81e95714 *tests/palettes.Rout.save
f2c731d633562b66f8415304fe9fef13 *vignettes/color.bib
diff -uPNr colorspace.orig/tests/cvd.R colorspace/tests/cvd.R
--- colorspace.orig/tests/cvd.R 2017-11-01 15:03:41.000000000 -0400
+++ colorspace/tests/cvd.R 2019-02-15 22:49:54.756309210 -0500
@@ -9,5 +9,5 @@
## convert a mixed vector (hex and built-in)
simulate_cvd(c("green", "#ffc0cb"), protanomaly_cvd["8"][[1]])
-## white and black unchanged (white becomes #FEFFFE due to a rounding error)
+## white and black unchanged (white becomes #FEFEFF due to a rounding error)
simulate_cvd(c("white", "black"), deutanomaly_cvd["2"][[1]])
diff -uPNr colorspace.orig/tests/cvd.Rout.save colorspace/tests/cvd.Rout.save
--- colorspace.orig/tests/cvd.Rout.save 2017-11-01 15:03:41.000000000 -0400
+++ colorspace/tests/cvd.Rout.save 2019-02-15 22:50:05.623198434 -0500
@@ -29,9 +29,9 @@
> simulate_cvd(c("green", "#ffc0cb"), protanomaly_cvd["8"][[1]])
[1] "#EBCD00" "#CEC7CB"
>
-> ## white and black unchanged (white becomes #FEFFFE due to a rounding error)
+> ## white and black unchanged (white becomes #FEFEFF due to a rounding error)
> simulate_cvd(c("white", "black"), deutanomaly_cvd["2"][[1]])
-[1] "#FEFFFE" "#000000"
+[1] "#FEFEFF" "#000000"
>
> proc.time()
user system elapsed

View File

@ -1 +1 @@
SHA512 (colorspace_1.4-0.tar.gz) = 1b94f2f7b50d3c633ab0c0a32e069c85f2e6de87555baa77004cab23a995eb7d1a33cf005fe6eab18d6ab0f5ec0dad3895b858a82f82e18fd88cb3c01ec94a0f
SHA512 (colorspace_1.4-1.tar.gz) = 70b9c30a29ab55963cb1424cf3d13ec5d57cf632864dd33e7f2a8b3d8898defb94c2353352f4fa70ecc467bad6543693e6f5ed31a589b107c7b6960614533ad4