Skip to content

hedgehog

0.2Package record

Property-Based Testing

1packages dependsuggested by 6
12.2Kdownloads / year
86.8%test coverage
13/13flavors OK

Overview

About

Hedgehog will eat all your bugs. 'Hedgehog' is a property-based testing package in the spirit of 'QuickCheck'. With 'Hedgehog', one can test properties of their programs against randomly generated input, providing far superior test coverage compared to unit testing. One of the key benefits of 'Hedgehog' is integrated shrinking of counterexamples, which allows one to quickly find the cause of bugs, given salient examples when incorrect behaviour occurs.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2
README· In the repository, left out of the releaseVignettesYes · 2 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
29includes a package overview page
Examples that run
100%12 run in a plain check
Exported functions with examples
44%
Documented parameters
98%
Return-value docs
16%
Help pages citing references
3%

Downloads

12.2K
CRAN downloads in the past year
Rank #3,576 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
1.1K30 days
2.9K90 days
12.2K1 year
Compare downloads with other packages →
Also on5.9K r2u3 autocran

Repository

62Stars
6Forks
3Open issues
1Open PRs
0Releases
67Commits
4Commit identities
67 commits · Last activity 2025-11-03
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
24
Median days to close, 50 most recently updated closed PRs
2

Forks over time

2026-07-14 · 52026-07-28 · 6
PracticesBeta

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

Checks run against github.com/hedgehogqa/r-hedgehog on 2026-10-22.

Continuous integration (1)
Travis CI (config file)
Reproducibility and dev environment (1)
Nix
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing hedgehog adds 24 packages (11 with compiled code, 6.6 MB of source tarballs). Heaviest: fs 1.4 MB, jsonlite 1.0 MB, testthat 814 KB.

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

People & History

People (1)
Author, Maintainer since 0.1 (2018)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2Latest
    record
    2025-11-03 · current release · diff ↗
  • 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
  • 0.1
    record
    2018-08-22
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-08-22
Total releases
2 / 8 yrs
License
MIT + file LICENSE OSI
Download size
139 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hedgehog")
Campbell, H. (2025). hedgehog: Property-Based Testing (Version 0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.hedgehog

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

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