{
  "_id": "6ab9033599f7aa8c6aa39af1",
  "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-09-27 11:48:10 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/44a57db851390a84d419ff72ff56af560fba8f79cdd862bf6496c081d40bb1ee",
  "_filesize": 299402,
  "_sha256": "44a57db851390a84d419ff72ff56af560fba8f79cdd862bf6496c081d40bb1ee",
  "_expires": "2027-01-05T11:51:15.000Z",
  "_created": "2026-09-27T11:48:10.000Z",
  "_published": "2026-09-27T11:51:17.497Z",
  "_jobs": [
    {
      "job": 108613254636,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10930967938"
    },
    {
      "job": 108613254698,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10931475334"
    },
    {
      "job": 108613254657,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10930967851"
    },
    {
      "job": 108613254667,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10931107026"
    },
    {
      "job": 108612764935,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930912926"
    },
    {
      "job": 108613254663,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10931116881"
    },
    {
      "job": 108613254634,
      "time": 70,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10931231502"
    },
    {
      "job": 108613254655,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10930933046"
    },
    {
      "job": 108613254675,
      "time": 69,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930243937"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707",
  "_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": 3,
  "_contributors": [
    {
      "user": "queelius",
      "count": 34,
      "uuid": 1896674
    }
  ],
  "_userbio": {
    "uuid": 1896674,
    "type": "user",
    "name": "Alex Towell",
    "followers": 124,
    "description": "Alexander Towell (Alex Towell). Reliability theory, encrypted search, algebraic structures. Building personal data tools."
  },
  "_downloads": {
    "count": 377,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": 5.079181246047625,
  "_indexed": true,
  "_nocasepkg": "hypothesize",
  "_universes": [
    "queelius"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-27T11:50:31.000Z",
      "distro": "resolute",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/78c200c5f2cdcde0c7918d3f7a7d6e4fca1a62be0ff4f14d518c689e77611f89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-27T11:50:11.000Z",
      "distro": "resolute",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/9519eb208ae3422b4a68496a144c2975d3a262fee89d9e1fb6d98fe0c91006dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-27T11:49:28.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/c49a15c8b198e631144c3a01059ac1ecc5593c20f1da2122408a39209e8559ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-27T11:49:46.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/908ff36a0204a4721fdb5a78625314c388cb1e484e8bee3600bb94208c77d0b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-27T11:50:15.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/5bcf385e4f34fc2d918b82033258ce745da4aa6f2921b2c02d7006019b4d2bfe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-27T11:49:16.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/b47dd6cffeb98b27926945360c2a2d147c204f8a900cc2a8b8e60311d908ca5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-27T11:49:24.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/43f9c5563d4c82cd629de70b25e1b087e53cfe913bb2aa7aa06dfa693c7b896c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-27T11:49:16.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "https://r2.ropensci.org/17017a220ce39ca3e0264a0d8188b1fbf32c83497d111189c161146389aca478",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/36316725707"
    }
  ]
}