{
  "_id": "6a54783e9b92047c28d59fed",
  "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-13 05:28:29 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/60051668f92d33f76a9e42ca29baed909fa109090e28c2521d999434f351c29d",
  "_filesize": 259638,
  "_sha256": "60051668f92d33f76a9e42ca29baed909fa109090e28c2521d999434f351c29d",
  "_expires": "2026-10-21T05:31:40.000Z",
  "_created": "2026-07-13T05:28:29.000Z",
  "_published": "2026-07-13T05:31:42.189Z",
  "_jobs": [
    {
      "job": 86741289593,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8269921394"
    },
    {
      "job": 86741289597,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8269925232"
    },
    {
      "job": 86741289584,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8269926217"
    },
    {
      "job": 86741289592,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8269916321"
    },
    {
      "job": 86740927392,
      "time": 182,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8269889322"
    },
    {
      "job": 86741289575,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8269913846"
    },
    {
      "job": 86741289632,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8269909002"
    },
    {
      "job": 86741289605,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8269908365"
    },
    {
      "job": 86741289603,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8269912260"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594",
  "_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": 974,
    "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-13T05:30:34.000Z",
      "distro": "resolute",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/ff9927e72c6e07ceda4c64d3ea5a02c8273ac1e10f7779dd7fdd4645bf8d3d9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-07-13T05:30:48.000Z",
      "distro": "resolute",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/b9c2d444abbce1df11258821a218e47dfb36866cd686aaf464f5079fca2b6b23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-13T05:30:49.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/a2ee8f20ff1531a86fd888d0479b01f29fe8a06937973a8daae819d4bfae4a82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-13T05:30:20.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/36c04483999400b19982447284e251a1abac3f21137bdcfc6db6a3c1c3d2057b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-07-13T05:30:26.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/c4154ce2da92bcf08af74ff91cbf18a70cd6317c21e756efc61a6b92502891b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-13T05:29:34.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/cdd4653be5914cc2ed5591b6eada3b5658cbcac6042cf2adf12efbf6b29d00a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-13T05:29:34.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/ccd17c7ad1ebe9bb52fb2bc07fa5793c676dc2dca541f735c3447b05de435c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-13T05:29:47.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "https://r2.ropensci.org/9ac201b544995dbdc094a2bf2822bf006bdfed8144a224e8d238db8c5d67f726",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/29226281594"
    }
  ]
}