Skip to content

compare

0.2-6Package record

Comparing Objects for Differences

5packages dependsuggested by 3
16.3Kdownloads / year
73.7%test coverage
11/13flavors OK

Overview

About

Functions to compare a model object to a comparison object. If the objects are not identical, the functions can be instructed to explore various modifications of the objects (e.g., sorting rows, dropping names) to see if the modified versions are identical.

Changes in 0.2-6
  • Fixed bug when allowing rounding (when comparing two numerics) so that rounding will occur regardless of whether comparison object needs rounding (because model might benefit from rounding anyway). Reported by Thomas Guillet (with patch!).

From inst/NEWS.Rd 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: ‘Paul Murrell <p.murrell@auckland.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Paul",
                    family = "Murrell",
                    role = c("aut", "cre"),
                    email = "p.murrell@auckland.ac.nz")
as necessary.

CRAN check page ↗

Slowest check: 1.4 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2-6
READMENoVignettesYes · 2 · dynamicNEWSYes · mentions 0.2-6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
15
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
0%

Downloads

16.3K
CRAN downloads in the past year
Rank #3,463 · ~45/day · ~1.4K/mo
Daily download trend is not available in this view yet.
1.2K30 days
3.1K90 days
16.3K1 year
Compare downloads with other packages →
Also on21K r2u9 autocran1.1K conda_forge123 c2d4u

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

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

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
5direct
0indirect
Imports 5
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (from the free-text Author field) (1)

Maintainer since 0.1 (2008)

Releases (8)

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
  • 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
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 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
  • 0.2-6Latest
    record
    2015-08-25 · current release · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2-5
    record
    2014-12-16 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2-4
    record
    2014-02-24 · diff ↗
Show 15 earlier eventsHide 15 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 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
  • 0.2-3
    record
    2009-10-12 · diff ↗
  • 0.2-2
    record
    2009-06-25 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 0.2-1
    record
    2009-01-23 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 0.2
    record
    2008-07-21 · diff ↗
  • 0.1
    record
    2008-06-16
  • R
    R 2.7.0 released · 2008-04-22

Package metadata

First published
2008-06-16
Total releases
8 / 18 yrs
License
GPL (>= 2) OSI
Download size
399 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("compare")

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

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