Skip to content

colourvision

2.1.0Package record

Colour Vision Models

0packages depend
3.1Kdownloads / year
48.9%test coverage
13/13flavors OK

Overview

About

Colour vision models, colour spaces and colour thresholds. Provides flexibility to build user-defined colour vision models for n number of photoreceptor types. Includes Vorobyev & Osorio (1998) Receptor Noise Limited models doi:10.1098/rspb.1998.0302, Chittka (1992) colour hexagon doi:10.1007/BF00199331, and Endler & Mielke (2005) model doi:10.1111/j.1095-8312.2005.00540.x. Models have been extended to accept any number of photoreceptor types.

Changes in 2.1.0

1. Changed how receptor noise is calculated when noise=FALSE to avoid misspecification by users (relevant for the RNLmodel and RNLthres functions). Now the n values are divided by their maximum before further calculations.

2. Updated the vignette presentation.

3. Updated deprecated rgl functions.

4. Added a function to calculate Weber achromatic contrasts (RNLachrom).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMENoVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 2.1.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
31includes a package overview page
Examples that run
100%19 run in a plain check
Exported functions with examples
59%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
65%

Downloads

3.1K
CRAN downloads in the past year
Rank #11,754 · ~9/day · ~260/mo
Daily download trend is not available in this view yet.
37830 days
93790 days
3.1K1 year
Compare downloads with other packages →
Also on91 r2u15 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing colourvision adds no packages beyond those that come with R.

Depends (0)
none
Imports (4)
graphicsstatsutilsMatrix
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer · added in 2.1.0

Maintainer since 0.1 (2016)

Listed in earlier versions (1)
Felipe M. Gawryszewski
no longer listed · 0.1 to 2.0.4
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.0Latest
    record
    2025-01-09 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.4
    record
    2021-08-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-01-31
  • 2.0.3
    record
    2021-01-31 · diff ↗
  • archivedRemoved from CRAN
    2021-01-30
    check problems were not corrected in time Unconditional use of cairo-based devices
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.2
    record
    2018-08-01 · diff ↗
  • 2.0.1
    record
    2018-05-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 6 earlier eventsHide 6 earlier events

Package metadata

First published
2016-11-10
Total releases
9 / 10 yrs
License
GPL-2 OSI
Bundled data
8.6 KB / 3 files
Download size
576 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("colourvision")

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 colourvision version 2.1.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