Skip to content

colorSpec

1.8-0Package record

Color Calculations with Emphasis on Spectral Data

3packages dependsuggested by 1
9.4Kdownloads / year
27.6%test coverage
11/13flavors OK

Overview

About

Calculate with spectral properties of light sources, materials, cameras, eyes, and scanners. Build complex systems from simpler parts using a spectral product algebra. For light sources, compute CCT, CRI, SSI, and IES TM-30 reports. For object colors, compute optimal colors and Logvinenko coordinates. Work with the standard CIE illuminants and color matching functions, and read spectra from text files, including CGATS files. Estimate a spectrum from its response. A user guide and 9 vignettes are included.

Changes in 1.8-0
  • added function referenceSpectraTM30()

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Glenn Davis <gdavis@gluonics.com>’

Found the following (possibly) invalid file URIs:
  URI: <gdavis@gluonics.com>
    From: inst/doc/blueflame.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/convexity.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/emulation.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/gallery.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/inversion.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/lens-aging.pdf
  URI: <gdavis@gluonics.com>
    From: inst/doc/optimals.pdf

CRAN check page ↗

Slowest check: 5.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.8-0
READMEYes · 834 wordsVignettesYes · 10 · dynamicNEWSYes · 100% structured · mentions 1.8-0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
72includes a package overview page
Examples that run
95%54 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
Exported functions with examples
75%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
56%

Downloads

9.4K
CRAN downloads in the past year
Rank #4,424 · ~26/day · ~785/mo
Daily download trend is not available in this view yet.
64830 days
2K90 days
9.4K1 year
Compare downloads with other packages →
Also on229 r2u6 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing colorSpec adds 1 package (0 with compiled code, 1.1 MB of source tarballs). Heaviest: logger 1.1 MB.

Depends (1)
R >= 4.0.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.5-2 (2016)
Releases (17)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.8-0Latest
    record
    2025-06-10 · current release · diff ↗ ·
    added 1 export
    referenceSpectraTM30
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7-0
    record
    2025-02-12 · diff ↗ ·
    added 6 exports
    computeTM30, insideOptimalColors, sectionSchrodingerColors, insideSchrodingerColors, plot.TM30, print.TM30
  • 1.6-0
    record
    2025-01-15 · diff ↗ ·
    added 1 export
    computeCRIdata
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5-0
    record
    2024-01-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4-0
    record
    2022-05-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3-0
    record
    2021-12-20 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2-1
    record
    2020-04-01 · diff ↗
  • 1.1-1
    record
    2019-12-07 · diff ↗
  • 1.0-1
    record
    2019-06-24 · diff ↗ ·
    added 4 exports
    canonicalOptimalColors, responsivityMetrics, bandRepresentation, bandMaterial
Show 12 earlier eventsHide 12 earlier events
  • 0.9-1
    record
    2019-05-31 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.8-3
    record
    2019-03-04 · diff ↗ ·
    removed 4 exports
    plotPatchesRGB, CCTfromXYZ, CCTfromxy, CCTfromuv
    added 3 exports
    computeSSI, sectionOptimalColors, plotOptimals2D
  • 0.7-5
    record
    2018-11-19 · diff ↗ ·
    added 3 exports
    invert, rectangularMaterial, CCTfromxy
  • R
    R 3.5.0 released · 2018-04-23
  • 0.7-3
    record
    2018-04-02 · diff ↗ ·
    added 9 exports
    as.colorSpec, is.radiometric, actinometric, is.actinometric, ptransform, emulate, as.data.frame.colorSpec, atmosTransmittance, CCTfromuv
  • 0.6-2
    record
    2017-12-04 · diff ↗
  • 0.6-1
    record
    2017-11-17 · diff ↗ ·
    added 2 exports
    interpolate, readCGATS
  • R
    R 3.4.0 released · 2017-04-21
  • 0.5-3
    record
    2016-05-17 · diff ↗
  • 0.5-2
    record
    2016-05-15
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-05-15
Total releases
17 / 10 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Bundled data
108 KB / 1 file
Download size
3.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("colorSpec")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for colorSpec version 1.8-0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy