Skip to content

unittest

1.7-0

TAP-Compliant Unit Testing

2packages depend
6.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jamie LentinFirst published 2014-08-2311 releasesCRAN page ↗GitHub ↗

Concise TAP http://testanything.org/ compliant unit testing package. Authored tests can be run using CMD check with minimal implementation overhead.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-devel-linux-x86_64-fedora-gcc
Code health
Yes
Tests · ratio 2.45
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
1
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

6.9K
CRAN downloads in the past year
Rank #6,954 · ~19/day · ~577/mo
Daily download trend is not available in this view yet.
58730 days
1.6K90 days
6.9K1 year
Compare downloads with other packages →
Also on98 r2u20 autocran

Repository

Repository
4Stars
1Forks
7Open issues
0Open PRs
7Releases

Stars over time

2024-04-03 · 42026-07-07 · 4

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (1)
methods
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Code Composition
R 1,757 (68%)Rd 460 (18%)Vignettes 363 (14%)
Code characteristics
Cyclomatic complexity
2.0 median / 12 max
Test cases
144 / 2.45 per code line
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

25 6 exported

Complexity

4.1 avg / 12 max

Call network

25 nodes / 31 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Release timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7-0Latest
    2024-08-16 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6-1
    2024-01-10 · diff ↗
  • 1.6-0
    2023-05-04 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5-3
    2022-09-25 · diff ↗
  • 1.5-1
    2022-09-07 · diff ↗
  • 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
  • 1.4-0
    2019-11-21 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3-0
    2017-11-01 · diff ↗
Show 8 earlier events
  • 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.2-0
    2015-02-13 · diff ↗
  • 1.1-1
    2014-12-14 · diff ↗
  • 1.0-1
    2014-09-12 · diff ↗
  • 1.0-0
    2014-08-23
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-23
Total releases
11 / 12 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Download size
662 KB
Installed size
not tracked yet
With dependencies
not tracked yet