Skip to content

colourvalues

Assigns Colours to Values

v0.3.11 · Nov 29, 2025 · GPL-3

Description

Maps one of the viridis colour palettes, or a user-specified palette to values. Viridis colour maps are created by Stéfan van der Walt and Nathaniel Smith, and were set as the default palette for the 'Python' 'Matplotlib' library <https://matplotlib.org/>. Other palettes available in this library have been derived from 'RColorBrewer' <https://CRAN.R-project.org/package=RColorBrewer> and 'colorspace' <https://CRAN.R-project.org/package=colorspace> packages.

Downloads

CRAN

4.3K

Last 30 days

1912th

15.5K

Last 90 days

63.3K

Last year

Trend: -24.2% (30d vs prior 30d)

r2u

42

Last 30 days

193

Last 90 days

642

Last year

Trend: -28.8% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 26, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(colourvalues)
  > 
  > test_check("colourvalues")
  corrupted double-linked list
  Aborted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 16, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 15, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(colourvalues)
  > 
  > test_check("colourvalues")
  corrupted double-linked list
  Aborted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.7Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/colourvalues.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.7Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.7Mb
  sub-directories of 1Mb or more:
    libs   5.5Mb

Reverse Dependencies (5)

imports

linking_to

Dependency Network

Dependencies Reverse dependencies Rcpp mapdeck rTwig spatialwidget leafgl spatialrisk colourvalues

Version History

15 tracked
new 0.3.11 Mar 10, 2026
updated 0.3.11 ← 0.3.9 diff Nov 28, 2025
updated 0.3.9 ← 0.3.8 diff Apr 10, 2023
updated 0.3.8 ← 0.3.7 diff Feb 5, 2023
updated 0.3.7 ← 0.3.6 diff Dec 7, 2020
updated 0.3.6 ← 0.3.5 diff Nov 7, 2020
updated 0.3.5 ← 0.3.4 diff Apr 28, 2020
updated 0.3.4 ← 0.3.2 diff Mar 17, 2020
updated 0.3.2 ← 0.3.1 diff Jan 22, 2020
updated 0.3.1 ← 0.3.0 diff Nov 14, 2019
updated 0.3.0 ← 0.2.2 diff Sep 22, 2019
updated 0.2.2 ← 0.2.1 diff Jan 16, 2019
updated 0.2.1 ← 0.2.0 diff Dec 18, 2018
updated 0.2.0 ← 0.1.1 diff Nov 6, 2018
new 0.1.1 Sep 29, 2018