{
  "_id": "6a1f3105b401979e73427a77",
  "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-05-15 08:35:39 UTC",
    "User": "root"
  },
  "Author": "Alexander Towell [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6443-9897>)",
  "Maintainer": "Alexander Towell <lex@metafunctor.com>",
  "MD5sum": "8176277150f53b661dabe8778749d75c",
  "_user": "queelius",
  "_type": "src",
  "_file": "hypothesize_1.0.0.tar.gz",
  "_fileid": "b0ddfee6584fd94cd8ab9859eb98ea0372791e5d2166a31f9e78f166542b35fd",
  "_filesize": 300464,
  "_sha256": "b0ddfee6584fd94cd8ab9859eb98ea0372791e5d2166a31f9e78f166542b35fd",
  "_created": "2026-05-15T08:35:39.000Z",
  "_published": "2026-06-02T19:37:41.269Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79156319537,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013211636"
    },
    {
      "job": 79156319375,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013211586"
    },
    {
      "job": 79156319631,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013204545"
    },
    {
      "job": 79156319101,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013210545"
    },
    {
      "job": 79156319076,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013181582"
    },
    {
      "job": 79156318294,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367953704"
    },
    {
      "job": 79156319432,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013201067"
    },
    {
      "job": 79156319600,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013200391"
    },
    {
      "job": 79156319653,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013201925"
    }
  ],
  "_buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 1896674
  },
  "_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",
    "description": "Alexander Towell (Alex Towell). Reliability theory, encrypted search, algebraic structures. Building personal data tools."
  },
  "_downloads": {
    "count": 490,
    "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.0",
  "_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",
    "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-05-15T08:37:34.000Z",
      "distro": "noble",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "794c895b1fb382f83004d9e0f8a1f51f6eb2fb80981479ba7aae74940a5776c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-15T08:37:34.000Z",
      "distro": "noble",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "13246044f8eca501c20385630d9f17684c721f3763119f5683ce6b23c4b5381d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T08:37:08.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "e3c882ca54a8f6e0bbc42a8315189c9d484f7b311cc5d06101c53d697853c7a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-15T08:37:30.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "70644f3414786ce0375722af534a670f8a3a28a19fb23a366be3fcace3691098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T08:36:48.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "d5868c60c0cadb55c642c29237908fb81ddab4bdaa1d4c4abf14f6a8d3a23812",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T08:36:46.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "02fa8c7fe5b74ca7cc6cec98663e74a60f45a753a1e4b2d957ddc164ef0325d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-15T08:36:51.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "6de86727ed653c9c22a2a939e5a80aa64773e5eaf46e7200dc4099c10f7fb399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T19:37:23.000Z",
      "commit": "d9fb3638e1b726e2299e2f69a6fae153d6d95ac4",
      "fileid": "58fab23d3122e7b8ff07e01703300be9fe2a20fcc5c618928e2943825609be23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/queelius/actions/runs/25908345812"
    }
  ]
}