Skip to content

farver

2.1.2Package record

High Performance Colour Space Manipulation

19packages dependsuggested by 12
15.8Mdownloads / year
49.3%test coverage
13/13flavors OK

Overview

About

The encoding of colour can be handled in many different ways, using different colour spaces. As different colour spaces have different uses, efficient conversion between these representations are important. The 'farver' package provides a set of functions that gives access to very fast colour space conversion and comparisons implemented in C++, and offers speed improvements over the 'convertColor' function in the 'grDevices' package.

Changes in 2.1.2
  • make sure output channels are always named (#23)
  • farver can now decode short version hex-code colours (#41)
  • Fix a bug in colour comparison that affected hcl input (#44)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-25
  • ERROR12 OK, 1 ERROR2026-08-20
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-27
Show 12 earlier changesHide 12 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-24
  • OK13 OK2026-05-22
  • ERROR12 OK, 1 ERROR2026-05-20
  • OK13 OK2026-05-11
  • ERROR12 OK, 1 ERROR2026-05-10
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • NOTE13 OK, 1 NOTE2026-04-18
  • ERROR12 OK, 1 NOTE, 1 ERROR2026-04-16
  • NOTE13 OK, 1 NOTE2026-03-31
  • ERROR12 OK, 1 NOTE, 1 ERROR2026-03-28
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.2
READMEYes · 449 wordsVignettesNoNEWSYes · 100% structured · mentions 2.1.2Citation fileNoWebsiteYes · pkgdown
Help pages
8 (2 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
76%
Return-value docs
100%
Help pages citing references
0%

Downloads

15.8M
CRAN downloads in the past year
Rank #31 · ~43.3K/day · ~1.3M/mo
Daily download trend is not available in this view yet.
1.3M30 days
4M90 days
15.8M1 year
Compare downloads with other packages →
Also on182K r2u205 autocran1.7M conda_forge23.6K c2d4u

Repository

144Stars
13Forks
15Open issues
5Open PRs
7Releases
133Commits
5Commit identities
rstatscolor-conversion
133 commits · Last activity 2024-05-13 · 0% stars, 30d · Default branch at 2.1.2.9000, ahead of CRAN 2.1.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
8

Stars over time

2026-07-14 · 1432026-08-24 · 144
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/thomasp85/farver on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-05-13 · The repository has a site deploy workflow

pkgdown site last built 2024-05-13

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

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

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
19direct
7,303indirect
Imports 19
Suggested by 12
Show all 31 packagesHide all 31 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (4)
Maintainer since 1.0 (2018), Author
Author
Author of the ColorSpace C++ library
Copyright holder, Funder · added in 2.1.2
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.2Latest
    record
    2024-05-13 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.1
    record
    2022-07-06 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.0
    record
    2021-02-28 · diff ↗ ·
    added 2 exports
    decode_native, encode_native
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.3
    record
    2020-01-16 · diff ↗
  • 2.0.2
    record
    2020-01-09 · diff ↗
  • 2.0.1
    record
    2020-01-10 · diff ↗
  • 2.0.0
    record
    2019-11-13 · diff ↗ ·
    added 8 exports
    add_to_channel, cap_channel, decode_colour, encode_colour, get_channel, multiply_channel, raise_channel, set_channel
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.0
    record
    2018-11-20 · diff ↗ ·
    added 1 export
    as_white_ref
Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2018-09-17
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-09-17
Total releases
9 / 8 yrs
License
MIT + file LICENSE OSI
Download size
1.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("farver")
Pedersen, T. L., Posit, PBC, François, R., & Nicolae, B. (2024). farver: High Performance Colour Space Manipulation (Version 2.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.farver

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 farver version 2.1.2 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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