{
  "_id": "6a55df40ff0138dec5d6a0e1",
  "Package": "hypothesize",
  "Title": "Consistent API for Hypothesis Testing",
  "Version": "1.0.0",
  "Authors@R": "person(\"Alexander\", \"Towell\", , \"lex@metafunctor.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-6443-9897\"))",
  "Description": "Provides a consistent API for hypothesis testing built on\nprinciples from 'Structure and Interpretation of Computer\nPrograms': data abstraction, closure (combining tests yields\ntests), and higher-order functions (transforming tests).\nImplements z-tests, Wald tests, likelihood ratio tests,\nFisher's method for combining p-values, and multiple testing\ncorrections. Designed for use by other packages that want to\nwrap their hypothesis tests in a consistent interface.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/queelius/hypothesize,\nhttps://queelius.github.io/hypothesize/",
  "BugReports": "https://github.com/queelius/hypothesize/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://queelius.r-universe.dev",
  "Date/Publication": "2026-03-16 14:56:33 UTC",
  "RemoteUrl": "https://github.com/queelius/hypothesize",
  "RemoteRef": "HEAD",
  "RemoteSha": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-14 07:00:41 UTC",
    "User": "root"
  },
  "Author": "Alexander Towell [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6443-9897>)",
  "Maintainer": "Alexander Towell <lex@metafunctor.com>",
  "_user": "queelius",
  "_type": "src",
  "_file": "hypothesize_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/068bcbbc4ba7d7f62c0540c4574d5cf375932ad1783c9d202de4e13f476c5ed9",
  "_filesize": 301732,
  "_sha256": "068bcbbc4ba7d7f62c0540c4574d5cf375932ad1783c9d202de4e13f476c5ed9",
  "_expires": "2026-10-22T07:03:26.000Z",
  "_created": "2026-07-14T07:00:41.000Z",
  "_published": "2026-07-14T07:03:27.922Z",
  "_jobs": [
    {
      "job": 87021187484,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8302911883"
    },
    {
      "job": 87021187449,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8302908459"
    },
    {
      "job": 87021187445,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8302903610"
    },
    {
      "job": 87021187437,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8302895041"
    },
    {
      "job": 87020691594,
      "time": 173,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8302865449"
    },
    {
      "job": 87021187440,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8302907164"
    },
    {
      "job": 87021187495,
      "time": 73,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8302892405"
    },
    {
      "job": 87021187507,
      "time": 68,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8302890443"
    },
    {
      "job": 87021187473,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8302891824"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390",
  "_status": "success",
  "_upstream": "https://github.com/queelius/hypothesize",
  "_commit": {
    "id": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
    "author": "Alex Towell <lex@metafunctor.com>",
    "committer": "Alex Towell <lex@metafunctor.com>",
    "message": "v1.0.0: stable release for CRAN resubmission\n\nVersion bump from 0.11.0 to 1.0.0 — the API is stable, fully tested\n(227 tests, 100% coverage), and CRAN-audited clean.\n\nChanges since 0.11.0:\n- lrt() accepts logLik objects with auto dof derivation\n- confint.z_test() respects one-sided alternatives\n- adjust_pval() preserves all original test fields\n- union_test() numerical stability fix for extreme p-values\n- Input validation on all primitive constructors\n- intersection_test/union_test use NA for stat/dof\n- All sapply → vapply, ASCII-only R source, set.seed in examples\n\nR CMD check: 0 errors, 0 warnings, 0 notes\n\nCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>\n",
    "time": 1773672993
  },
  "_maintainer": {
    "name": "Alexander Towell",
    "email": "lex@metafunctor.com",
    "login": "queelius",
    "orcid": "0000-0001-6443-9897",
    "twitter": "@queelius",
    "description": "Alexander Towell (Alex Towell). Reliability theory, encrypted search, algebraic structures. Building personal data tools.",
    "uuid": 1896674
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "queelius",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 19
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.10.0",
      "date": "2026-02-25"
    }
  ],
  "_topics": [
    "hypothesis-testing",
    "likelihood",
    "likelihood-ratio-test",
    "statistics",
    "wald-test"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "queelius",
      "count": 34,
      "uuid": 1896674
    }
  ],
  "_userbio": {
    "uuid": 1896674,
    "type": "user",
    "name": "Alex Towell",
    "followers": 120,
    "description": "Alexander Towell (Alex Towell). Reliability theory, encrypted search, algebraic structures. Building personal data tools."
  },
  "_downloads": {
    "count": 402,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hypothesize"
  },
  "_devurl": "https://github.com/queelius/hypothesize",
  "_pkgdown": "https://queelius.github.io/hypothesize/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hypothesize.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/queelius/hypothesize",
  "_realowner": "queelius",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.10.0",
      "date": "2025-12-11"
    },
    {
      "version": "0.11.0",
      "date": "2026-02-28"
    },
    {
      "version": "1.0.0",
      "date": "2026-03-16"
    }
  ],
  "_exports": [
    "adjust_pval",
    "complement_test",
    "dof",
    "fisher_combine",
    "hypothesis_test",
    "intersection_test",
    "invert_test",
    "is_significant_at",
    "lower",
    "lrt",
    "pval",
    "score_test",
    "test_stat",
    "union_test",
    "upper",
    "wald_test",
    "z_test"
  ],
  "_help": [
    {
      "page": "adjust_pval",
      "title": "Adjust P-Value for Multiple Testing",
      "topics": [
        "adjust_pval"
      ]
    },
    {
      "page": "complement_test",
      "title": "Complement a Hypothesis Test (NOT)",
      "topics": [
        "complement_test"
      ]
    },
    {
      "page": "confint.hypothesis_test",
      "title": "Confidence Interval from Hypothesis Test (Duality)",
      "topics": [
        "confint.hypothesis_test",
        "confint.wald_test",
        "confint.z_test"
      ]
    },
    {
      "page": "dof",
      "title": "Extract the degrees of freedom from a hypothesis test",
      "topics": [
        "dof",
        "dof.hypothesis_test"
      ]
    },
    {
      "page": "fisher_combine",
      "title": "Combine Independent P-Values (Fisher's Method)",
      "topics": [
        "fisher_combine"
      ]
    },
    {
      "page": "hypothesis_test",
      "title": "Create a Hypothesis Test Object",
      "topics": [
        "hypothesis_test"
      ]
    },
    {
      "page": "intersection_test",
      "title": "Intersection Test (AND)",
      "topics": [
        "intersection_test"
      ]
    },
    {
      "page": "invert_test",
      "title": "Invert a Test into a Confidence Set (Test-Confidence Duality)",
      "topics": [
        "invert_test"
      ]
    },
    {
      "page": "is_significant_at",
      "title": "Check if a hypothesis test is significant at a given level",
      "topics": [
        "is_significant_at",
        "is_significant_at.hypothesis_test"
      ]
    },
    {
      "page": "lower",
      "title": "Extract the lower bound of a confidence set",
      "topics": [
        "lower",
        "lower.confidence_set"
      ]
    },
    {
      "page": "lrt",
      "title": "Likelihood Ratio Test",
      "topics": [
        "lrt"
      ]
    },
    {
      "page": "print.confidence_set",
      "title": "Print method for confidence sets",
      "topics": [
        "print.confidence_set"
      ]
    },
    {
      "page": "print.hypothesis_test",
      "title": "Print method for hypothesis tests",
      "topics": [
        "print.hypothesis_test"
      ]
    },
    {
      "page": "pval",
      "title": "Extract the p-value from a hypothesis test",
      "topics": [
        "pval",
        "pval.hypothesis_test"
      ]
    },
    {
      "page": "score_test",
      "title": "Score Test (Lagrange Multiplier Test)",
      "topics": [
        "score_test"
      ]
    },
    {
      "page": "test_stat",
      "title": "Extract the test statistic from a hypothesis test",
      "topics": [
        "test_stat",
        "test_stat.hypothesis_test"
      ]
    },
    {
      "page": "union_test",
      "title": "Union Test (OR via De Morgan's Law)",
      "topics": [
        "union_test"
      ]
    },
    {
      "page": "upper",
      "title": "Extract the upper bound of a confidence set",
      "topics": [
        "upper",
        "upper.confidence_set"
      ]
    },
    {
      "page": "wald_test",
      "title": "Wald Test",
      "topics": [
        "wald_test"
      ]
    },
    {
      "page": "z_test",
      "title": "One-Sample Z-Test",
      "topics": [
        "z_test"
      ]
    }
  ],
  "_readme": "https://github.com/queelius/hypothesize/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "boolean-algebra.Rmd",
      "filename": "boolean-algebra.html",
      "title": "Boolean Algebra of Hypothesis Tests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Idea",
        "The Trinity: Three Ways to Test a Hypothesis",
        "Boolean Algebra: AND, OR, NOT",
        "NOT: The Complement",
        "AND: The Intersection",
        "OR: The Union (via De Morgan)",
        "The Full Algebra",
        "Test-Confidence Duality",
        "Multivariate Tests",
        "The Design as an Algebra"
      ],
      "created": "2026-02-27 11:44:43",
      "modified": "2026-02-27 11:44:43",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to hypothesize",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is hypothesize?",
        "The Hypothesis Testing Interface",
        "Primitive Tests",
        "The Z-Test: Simplest Case",
        "The Wald Test: General Parameters",
        "The Likelihood Ratio Test: Comparing Models",
        "Duality: Tests and Confidence Intervals",
        "The Closure Property: Combining Tests",
        "Higher-Order Functions: Transforming Tests",
        "Extending the Package",
        "Summary"
      ],
      "created": "2025-12-04 04:28:33",
      "modified": "2026-03-16 06:25:17",
      "commits": 5
    }
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "hypothesize",
  "_universes": [
    "queelius"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-14T07:02:57.000Z",
      "distro": "resolute",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/7ecce5d473873956f22930d8fd424ad4f07f0374480d118ff119591a1e445092",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-14T07:02:44.000Z",
      "distro": "resolute",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/fb18878136d11a191bdf81086ceb01d33fe9df5e4788cdce5f90a6245de2a635",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-14T07:02:32.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/af3fa3384216fdbedfa34af5a606144b1ca285a917e75bf1d6213438c9d6038f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-14T07:02:09.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/a49ce33631d33f46f63dbc9bd38d57fe22bd0755ef198cb502c0822978f586a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-07-14T07:02:53.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/2a3192ffa17b3bc4a42dd6d0edef5111e6201ddb54ad77d2e68c8c685a29805d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-14T07:01:53.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/3f42808aa23d7c4329c000afc30b6962c8032cdc8e2f46767524145ac55624fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-14T07:01:48.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/14dd1999da70e6f52a771686c0ac220d1478b6f5e35eb7504d2030ab3bdd5c5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-14T07:01:51.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/05a4e65ad7209cd9be00aa14fc70093ad2ca3990fd3454c4d31b8fb446c82e2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/29312972390"
    }
  ]
}