{
  "_id": "6a1d64661d7bb097a0a4c086",
  "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-06-01 10:34:16 UTC",
    "User": "root"
  },
  "Author": "Huw Campbell [aut, cre]",
  "Maintainer": "Huw Campbell <huw.campbell@gmail.com>",
  "MD5sum": "0ad385733d60d830643c6b1809b20678",
  "_user": "hedgehogqa",
  "_type": "src",
  "_file": "hedgehog_0.2.tar.gz",
  "_fileid": "0bb698a54449a8cb8b0d5840b9d826a51dbf0166b49ace0ddc5f7a386d67d827",
  "_filesize": 254740,
  "_sha256": "0bb698a54449a8cb8b0d5840b9d826a51dbf0166b49ace0ddc5f7a386d67d827",
  "_created": "2026-06-01T10:34:16.000Z",
  "_published": "2026-06-01T10:52:22.268Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78834108183,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7329282482"
    },
    {
      "job": 78834108187,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329281002"
    },
    {
      "job": 78834108206,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7329524451"
    },
    {
      "job": 78834108196,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329566467"
    },
    {
      "job": 78833474114,
      "time": 249,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329239116"
    },
    {
      "job": 78834108165,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329273006"
    },
    {
      "job": 78834108254,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7329270329"
    },
    {
      "job": 78834108195,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7329271328"
    },
    {
      "job": 78834108215,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7329264090"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Release with confidence."
  },
  "_downloads": {
    "count": 744,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hedgehog"
  },
  "_devurl": "https://github.com/hedgehogqa/r-hedgehog",
  "_searchresults": 70,
  "_rbuild": "4.6.0",
  "_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",
    "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",
    "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": 7.892762234615817,
  "_indexed": true,
  "_nocasepkg": "hedgehog",
  "_universes": [
    "hedgehogqa",
    "huwcampbell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-01T10:36:22.000Z",
      "distro": "noble",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "b48fb29f5bd50d4bbedfebc98abc533b9aca66c4f4c67353742bb1c1a225ac30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-06-01T10:36:18.000Z",
      "distro": "noble",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "c7530f6f554af7351e574a2db59d4a6e65ae47b94920a92992ba4417490df840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-01T10:49:20.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "86c97a36162f3ee3f6c984cb2d7782b783c7ee00985d07d03c8c69432135d3fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2",
      "date": "2026-06-01T10:51:33.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "056836514d92db91adb1bbcf3092b7464acda59a8bb459db967c8d58cca90a5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-06-01T10:36:15.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "9130aa76072f962088f9fcdcef47d4e8f10a5d8c9e6f0cb00f900263847628d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-06-01T10:35:35.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "ed073a189ae1a4257dd6cdbe0ae546764716a81d0375c5f3ab5bc5be1f906942",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-06-01T10:35:39.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "ac92b1fe00b5bdaf77ca186ed594badff3f7157ce88a45e62b85c46f6991106f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-06-01T10:35:18.000Z",
      "commit": "5a077306742ec8d53ad307ce378938a9080de073",
      "fileid": "837eb400b0c1cd5f2b3d226b7d4249dfb433cd926933f2329390feab96c8c73b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hedgehogqa/actions/runs/26749453834"
    }
  ]
}