Skip to content

compositions

2.0-9Package record

Compositional Data Analysis

22packages dependsuggested by 4
217.4Kdownloads / year
37.0%test coverage
13/13flavors OK

Overview

About

Provides functions for the consistent analysis of compositional data (e.g. portions of substances) and positive numbers (e.g. concentrations) in the way proposed by J. Aitchison and V. Pawlowsky-Glahn.

Install

Health

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

none known

Documentation

In release 2.0-9
READMENoVignettesYes · 2 · dynamicNEWSNoCitation fileNoWebsiteYes
Help pages
213 (32 internal)includes a package overview page
Examples that run
80%143 run in a plain check · 19 never run · 17 hold no code
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
48%

Also includes 1 demo script (run with demo())

Downloads

217.4K
CRAN downloads in the past year
Rank #930 · ~596/day · ~18.1K/mo
Daily download trend is not available in this view yet.
13.7K30 days
44.5K90 days
217.4K1 year
Compare downloads with other packages →
Also on3.4K r2u3 autocran52.3K conda_forge210 c2d4u

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing compositions adds 6 packages (5 with compiled code, 7.2 MB of source tarballs). Heaviest: robustbase 2.2 MB, bayesm 2.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.6
Imports (9)
methodsutilsgrDevicesstatstensorArobustbasebayesmgraphicsMASS
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
22direct
4indirect
Depends 2 · Imports 20
Suggested by 4
Show all 26 packagesHide all 26 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.9-10 (2005)
Author · added in 0.91-6
Author · added in 1.40-2
Listed in earlier versions (3)
Show 3 peopleHide 3 people
with contributions of Matevz Bren
no longer listed · 0.9-11
Raimon Tolosana
no longer listed · 0.9-10 to 1.40-1
van den Boogaart
no longer listed · 2.0-9
Releases (24)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0-9Latest
    record
    2025-08-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0-8
    record
    2024-01-31 · diff ↗
  • 2.0-7
    record
    2024-01-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0-6
    record
    2023-04-13 · diff ↗ ·
    removed 1 export
    pattern:^[^g[][a-zA-Z0-9\\.]*
    added 7 exports
    pattern:^[^.|g], geometricmean, geometricmeanRow, geometricmeanCol, getDetectionlimit, groupparts, getStickyClassOption
  • 2.0-5
    record
    2023-02-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0-4
    record
    2022-01-05 · diff ↗
  • 2.0-2
    record
    2021-07-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0-1
    record
    2021-01-08 · diff ↗
  • 2.0-0
    record
    2020-07-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 37 earlier eventsHide 37 earlier events
  • 1.40-5
    record
    2020-04-08 · diff ↗
  • 1.40-4
    record
    2020-03-04 · diff ↗
  • 1.40-3
    record
    2019-10-25 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.40-2
    record
    2018-06-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.40-1
    record
    2014-06-07 · diff ↗
  • 1.40-0
    record
    2014-04-14 · diff ↗ ·
    added 1 export
    gsi.PrinBal
  • R
    R 3.1.0 released · 2014-04-10
  • 1.30-2
    record
    2013-12-29 · diff ↗
  • 1.30-1
    record
    2013-04-12 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.20-1
    record
    2012-09-12 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.10-2
    record
    2011-10-20 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 1.10-1
    record
    2010-12-07 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 1.01-1
    record
    2009-03-04 · diff ↗ ·
    added 12 exports
    pattern:^[^g[][a-zA-Z0-9\\.]*, pattern:^g[^s].*, gsi, gsi.getD, gsi.pStore, gsi.orSum, gsi.merge2signary, gsi.ilrBase2signary, gsi.optimalilrBase, gsi.buildilrBase, gsi.signary2ilrBase, gsi.OrderIlr
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • 0.91-6
    record
    2007-04-13 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • 0.9-11
    record
    2005-10-06 · diff ↗
  • R
    R 2.2.0 released · 2005-10-06
  • 0.9-10
    record
    2005-06-10
  • R
    R 2.1.0 released · 2005-04-18

Package metadata

First published
2005-06-10
Total releases
24 / 21 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6
Bundled data
201 KB / 31 files
Download size
2.7 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("compositions")
van den Boogaart, K. G., Bren, M., & Tolosana-Delgado, R. (2025). compositions: Compositional Data Analysis (Version 2.0-9) [Computer software]. https://doi.org/10.32614/CRAN.package.compositions

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

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