{
  "_id": "6a493419b5e98c4082a0dc7b",
  "Package": "hedgehog",
  "Type": "Package",
  "Title": "Property-Based Testing",
  "Version": "0.2",
  "Date": "2025-11-01",
  "Authors@R": "person(\"Huw\", \"Campbell\", email = \"huw.campbell@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Hedgehog will eat all your bugs. 'Hedgehog' is a\nproperty-based testing package in the spirit of 'QuickCheck'.\nWith 'Hedgehog', one can test properties of their programs\nagainst randomly generated input, providing far superior test\ncoverage compared to unit testing. One of the key benefits of\n'Hedgehog' is integrated shrinking of counterexamples, which\nallows one to quickly find the cause of bugs, given salient\nexamples when incorrect behaviour occurs.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/hedgehogqa",
  "BugReports": "https://github.com/hedgehogqa/r-hedgehog/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://hedgehogqa.r-universe.dev",
  "Date/Publication": "2025-11-03 09:34:29 UTC",
  "RemoteUrl": "https://github.com/hedgehogqa/r-hedgehog",
  "RemoteRef": "HEAD",
  "RemoteSha": "5a077306742ec8d53ad307ce378938a9080de073",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 16:22:58 UTC",
    "User": "root"
  },
  "Author": "Huw Campbell [aut, cre]",
  "Maintainer": "Huw Campbell <huw.campbell@gmail.com>",
  "_user": "hedgehogqa",
  "_type": "src",
  "_file": "hedgehog_0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e6873e2ba4ee665735f1883b1d87a846c172a5c35b34d2c66a0865346c03115c",
  "_filesize": 259632,
  "_sha256": "e6873e2ba4ee665735f1883b1d87a846c172a5c35b34d2c66a0865346c03115c",
  "_expires": "2026-10-12T16:25:59.000Z",
  "_created": "2026-07-04T16:22:58.000Z",
  "_published": "2026-07-04T16:26:01.694Z",
  "_jobs": [
    {
      "job": 85147794690,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8083384537"
    },
    {
      "job": 85147794702,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083384047"
    },
    {
      "job": 85147794689,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8083380858"
    },
    {
      "job": 85147794717,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083379096"
    },
    {
      "job": 85147574924,
      "time": 168,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083365434"
    },
    {
      "job": 85147794681,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8083378527"
    },
    {
      "job": 85147794693,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8083375677"
    },
    {
      "job": 85147794743,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8083375246"
    },
    {
      "job": 85147794705,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083377998"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211",
  "_status": "success",
  "_upstream": "https://github.com/hedgehogqa/r-hedgehog",
  "_commit": {
    "id": "5a077306742ec8d53ad307ce378938a9080de073",
    "author": "Huw Campbell <hcampbell@simplemachines.com.au>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #23 from hedgehogqa/topic/version-0.2\n\n",
    "time": 1762162469
  },
  "_maintainer": {
    "name": "Huw Campbell",
    "email": "huw.campbell@gmail.com",
    "login": "huwcampbell",
    "bluesky": "@huwcampbell.com",
    "description": "",
    "uuid": 5205457
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "version": ">= 0.1.6",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "hedgehogqa",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 62,
  "_contributors": [
    {
      "user": "huwcampbell",
      "count": 62,
      "uuid": 5205457
    },
    {
      "user": "hadley",
      "count": 2,
      "uuid": 4196
    },
    {
      "user": "assignuser",
      "count": 2,
      "uuid": 16141871
    },
    {
      "user": "moodmosaic",
      "count": 1,
      "uuid": 287532
    }
  ],
  "_userbio": {
    "uuid": 25621930,
    "type": "organization",
    "name": "Hedgehog",
    "followers": 19,
    "description": "Release with confidence."
  },
  "_downloads": {
    "count": 891,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hedgehog"
  },
  "_devurl": "https://github.com/hedgehogqa/r-hedgehog",
  "_searchresults": 96,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hedgehog.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hedgehogqa/r-hedgehog",
  "_realowner": "hedgehogqa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2018-08-22"
    },
    {
      "version": "0.2",
      "date": "2025-11-03"
    }
  ],
  "_exports": [
    "command",
    "discard",
    "expect_sequential",
    "forall",
    "gen.actions",
    "gen.and_then",
    "gen.beta",
    "gen.bind",
    "gen.c",
    "gen.choice",
    "gen.date",
    "gen.element",
    "gen.example",
    "gen.gamma",
    "gen.impure",
    "gen.int",
    "gen.list",
    "gen.map",
    "gen.no.shrink",
    "gen.pure",
    "gen.recursive",
    "gen.run",
    "gen.sample",
    "gen.sample.int",
    "gen.shrink",
    "gen.sized",
    "gen.structure",
    "gen.subsequence",
    "gen.unif",
    "gen.with",
    "generate",
    "shrink.halves",
    "shrink.list",
    "shrink.removes",
    "shrink.towards"
  ],
  "_help": [
    {
      "page": "command",
      "title": "State based testing commands",
      "topics": [
        "command"
      ]
    },
    {
      "page": "discard",
      "title": "Discard a test case",
      "topics": [
        "discard"
      ]
    },
    {
      "page": "expect_sequential",
      "title": "Execute a state machine model",
      "topics": [
        "expect_sequential"
      ]
    },
    {
      "page": "forall",
      "title": "Hedgehog property test",
      "topics": [
        "forall"
      ]
    },
    {
      "page": "gen-element",
      "title": "Random Sample Generation",
      "topics": [
        "gen-element",
        "gen.choice",
        "gen.element",
        "gen.int",
        "gen.sample",
        "gen.sample.int",
        "gen.subsequence"
      ]
    },
    {
      "page": "gen-monad",
      "title": "Generators",
      "topics": [
        "gen",
        "gen-monad",
        "gen.and_then",
        "gen.bind",
        "gen.impure",
        "gen.map",
        "gen.pure",
        "gen.with"
      ]
    },
    {
      "page": "gen.actions",
      "title": "Generate a list of possible actions.",
      "topics": [
        "gen.actions"
      ]
    },
    {
      "page": "gen.beta",
      "title": "Generate a float with a gamma distribution",
      "topics": [
        "gen.beta"
      ]
    },
    {
      "page": "gen.c",
      "title": "Generate a vector of values from a generator",
      "topics": [
        "gen.c"
      ]
    },
    {
      "page": "gen.date",
      "title": "Generate a date between the from and to dates specified.",
      "topics": [
        "gen.date"
      ]
    },
    {
      "page": "gen.example",
      "title": "Sample from a generator.",
      "topics": [
        "gen.example"
      ]
    },
    {
      "page": "gen.gamma",
      "title": "Generate a float with a gamma distribution",
      "topics": [
        "gen.gamma"
      ]
    },
    {
      "page": "gen.list",
      "title": "Generate a list of values, with length bounded by the size parameter.",
      "topics": [
        "gen.list"
      ]
    },
    {
      "page": "gen.no.shrink",
      "title": "Stop a generator from shrinking",
      "topics": [
        "gen.no.shrink"
      ]
    },
    {
      "page": "gen.recursive",
      "title": "Build recursive structures in a way that guarantees termination.",
      "topics": [
        "gen.recursive"
      ]
    },
    {
      "page": "gen.run",
      "title": "Run a generator",
      "topics": [
        "gen.run"
      ]
    },
    {
      "page": "gen.shrink",
      "title": "Helper to create a generator with a shrink function.",
      "topics": [
        "gen.shrink"
      ]
    },
    {
      "page": "gen.sized",
      "title": "Sized generator creation",
      "topics": [
        "gen.sized"
      ]
    },
    {
      "page": "gen.structure",
      "title": "Generate a structure",
      "topics": [
        "gen.structure"
      ]
    },
    {
      "page": "gen.unif",
      "title": "Generate a float between the from and to the values specified.",
      "topics": [
        "gen.unif"
      ]
    },
    {
      "page": "generate",
      "title": "Compose generators",
      "topics": [
        "generate"
      ]
    },
    {
      "page": "hedgehog",
      "title": "Property based testing in R",
      "topics": [
        "hedgehog"
      ]
    },
    {
      "page": "shrink.halves",
      "title": "Shrink a number by dividing it into halves.",
      "topics": [
        "shrink.halves"
      ]
    },
    {
      "page": "shrink.list",
      "title": "Shrink a list by edging towards the empty list.",
      "topics": [
        "shrink.list"
      ]
    },
    {
      "page": "shrink.removes",
      "title": "Produce permutations of removing num elements from a list.",
      "topics": [
        "shrink.removes"
      ]
    },
    {
      "page": "shrink.towards",
      "title": "Shrink an integral number by edging towards a destination.",
      "topics": [
        "shrink.towards"
      ]
    },
    {
      "page": "symbolic",
      "title": "A symbolic value.",
      "topics": [
        "symbolic"
      ]
    },
    {
      "page": "tree",
      "title": "Lazy rose trees",
      "topics": [
        "tree",
        "tree.bind",
        "tree.expand",
        "tree.liftA2",
        "tree.map",
        "tree.sequence",
        "tree.unfold",
        "tree.unfoldForest"
      ]
    },
    {
      "page": "tree.replicate",
      "title": "Creating trees of lists",
      "topics": [
        "tree.replicate",
        "tree.replicateS"
      ]
    }
  ],
  "_readme": "https://github.com/hedgehogqa/r-hedgehog/raw/HEAD/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "fs",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "otel",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "rlang",
    "rprojroot",
    "testthat",
    "waldo",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "state-machines.Rmd",
      "filename": "state-machines.html",
      "title": "Hedgehog - State Machine Testing",
      "author": "Huw Campbell",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-10-09 22:36:14",
      "modified": "2025-11-03 09:34:29",
      "commits": 4
    },
    {
      "source": "hedgehog.Rmd",
      "filename": "hedgehog.html",
      "title": "Hedgehog - Property Testing in R",
      "author": "Huw Campbell",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Features",
        "Example",
        "Generators",
        "State Machine Testing"
      ],
      "created": "2017-10-09 22:36:14",
      "modified": "2025-11-03 09:34:29",
      "commits": 5
    }
  ],
  "_score": 8.02993542764113,
  "_indexed": true,
  "_nocasepkg": "hedgehog",
  "_universes": [
    "hedgehogqa",
    "huwcampbell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-07-04T16:25:11.000Z",
      "distro": "resolute",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/a6ae78e3af83085fc60952c25467555e2d43ddcb3a27f0115b6874e2efcc0496",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-07-04T16:25:08.000Z",
      "distro": "resolute",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/e4ee8db5130c3e84635551366e5921b6322ff9d78b10cf5286c9c7336dd762e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-04T16:24:55.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/ca1a3e978380a5dc912f4eac3d278169d873bac6b7356872795ab64f2a1301e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-04T16:24:42.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/b7be92cba64df6035ee9d986b03ae75f55ddc3ecca4cbacccac70155fc7c4053",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-07-04T16:24:50.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/65c643b52ba7c301d68ff40dfa4d40bde6653fc2b6d2ba21fa6d60f3481664e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-04T16:24:01.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/07f15899a59d915bc80a30d9c8757fed181cf3013699aea38cb789bea9742e8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-04T16:23:59.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/90fadf04142611e30ce1896330675ff59d9a3cd560555afdbfbe61671b6fa06f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-04T16:24:17.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/0fd1621745d7bbdc5547c1555b13aef0c7d224952dbe0ee3357cdb388557fa03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/28712202211"
    }
  ]
}