{
  "_id": "6abba6b499f7aa8c6aa4789d",
  "Package": "xactonomial",
  "Type": "Package",
  "Title": "Inference for Functions of Multinomial Parameters",
  "Version": "1.2.2",
  "Date": "2026-07-31",
  "Authors@R": "c(person(given = \"Michael C\",\nfamily = \"Sachs\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sachsmc@gmail.com\"),\nperson(given = \"Michael P\",\nfamily = \"Fay\", role = c(\"aut\")),\nperson(given = \"Erin E\",\nfamily = \"Gabriel\", role = c(\"aut\")),\nperson(given = \"David B\",\nfamily = \"Dahl\", role = \"ctb\", comment = \"(rbindings.rs)\"))",
  "URL": "https://sachsmc.github.io/xactonomial/",
  "BugReports": "https://github.com/sachsmc/xactonomial/issues/",
  "Description": "We consider the problem where we observe k vectors\n(possibly of different lengths), each representing an\nindependent multinomial random vector. For a given function\nthat takes in the concatenated vector of multinomial\nprobabilities and outputs a real number, this is a Monte Carlo\nestimation procedure of an exact p-value and confidence\ninterval. The resulting inference is valid even in small\nsamples, when the parameter is on the boundary, and when the\nfunction is not differentiable at the parameter value, all\nsituations where asymptotic methods and the bootstrap would\nfail. For more details see Sachs, Fay, and Gabriel (2025)\n<doi:10.48550/arXiv.2406.19141>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "Cargo (Rust's package manager), rustc >= 1.71",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Config/rextendr/version": "0.4.2",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://sachsmc.r-universe.dev",
  "Date/Publication": "2026-07-31 08:01:55 UTC",
  "RemoteUrl": "https://github.com/sachsmc/xactonomial",
  "RemoteRef": "HEAD",
  "RemoteSha": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-29 10:40:54 UTC",
    "User": "root"
  },
  "Author": "Michael C Sachs [aut, cre],\nMichael P Fay [aut],\nErin E Gabriel [aut],\nDavid B Dahl [ctb] ((rbindings.rs))",
  "Maintainer": "Michael C Sachs <sachsmc@gmail.com>",
  "_user": "sachsmc",
  "_type": "src",
  "_file": "xactonomial_1.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/0ba705357ed838e7d8b20de05c90786a52a23c97097058da83887f9fdcce676b",
  "_filesize": 1508300,
  "_sha256": "0ba705357ed838e7d8b20de05c90786a52a23c97097058da83887f9fdcce676b",
  "_expires": "2027-01-07T11:53:22.000Z",
  "_created": "2026-09-29T10:40:54.000Z",
  "_published": "2026-09-29T11:53:24.372Z",
  "_jobs": [
    {
      "job": 109368785587,
      "time": 147,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028219171"
    },
    {
      "job": 109368785427,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028715070"
    },
    {
      "job": 109368785534,
      "time": 155,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027039848"
    },
    {
      "job": 109368785488,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11026929800"
    },
    {
      "job": 109368785408,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11031270984"
    },
    {
      "job": 109368785459,
      "time": 230,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11031076931"
    },
    {
      "job": 109368785644,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11031061811"
    },
    {
      "job": 109368785460,
      "time": 309,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11031606277"
    },
    {
      "job": 109367254153,
      "time": 274,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027414153"
    },
    {
      "job": 109368785527,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 109368785467,
      "time": 377,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028985120"
    },
    {
      "job": 109368785556,
      "time": 232,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028795191"
    },
    {
      "job": 109368785508,
      "time": 218,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11028875093"
    },
    {
      "job": 109368785479,
      "time": 379,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11028860491"
    },
    {
      "job": 109368785598,
      "time": 173,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11026969992"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910",
  "_status": "success",
  "_upstream": "https://github.com/sachsmc/xactonomial",
  "_commit": {
    "id": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
    "author": "Michael Sachs <sachsmc@gmail.com>",
    "committer": "Michael Sachs <sachsmc@gmail.com>",
    "message": "Fix CRAN install failures: remove cargo test from Makevars.in\n\ncargo test was added on an unchained recipe line, so cargo build lost\nthe CARGO_HOME/PATH overrides in the next (separate-shell) line. That\nbroke macOS installs (cargo not found), made Cargo create ~/.cargo\n(CRAN policy violation Kurt Hornik flagged), and failed the cargo test\nlink step on Fedora's non-shlib R with \"cannot find -lR\". The actual\npackage build (cargo build, a staticlib) never needed cargo test and\nwas unaffected either way; removing it matches rextendr's standard\nbuild recipe.\n\nCo-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>\n",
    "time": 1785484915
  },
  "_maintainer": {
    "name": "Michael C Sachs",
    "email": "sachsmc@gmail.com",
    "login": "sachsmc",
    "linkedin": "in/michael-sachs-09324659",
    "description": "",
    "uuid": 5464185
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sachsmc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sachsmc",
      "count": 59,
      "uuid": 5464185
    }
  ],
  "_userbio": {
    "uuid": 5464185,
    "type": "user",
    "name": "Michael Sachs",
    "followers": 93
  },
  "_downloads": {
    "count": 258,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xactonomial"
  },
  "_devurl": "https://github.com/sachsmc/xactonomial",
  "_pkgdown": "https://sachsmc.github.io/xactonomial/",
  "_searchresults": 0,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xactonomial.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sachsmc/xactonomial",
  "_realowner": "sachsmc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2025-04-28"
    },
    {
      "version": "1.2.0",
      "date": "2025-08-01"
    },
    {
      "version": "1.2.1",
      "date": "2026-07-30"
    },
    {
      "version": "1.2.2",
      "date": "2026-08-04"
    }
  ],
  "_exports": [
    "calc_multinom_probs",
    "calc_prob_null",
    "calc_prob_null_fast",
    "calc_prob_null_gradient",
    "combinate",
    "combinate2",
    "itp_root",
    "log_multinom_coef",
    "pvalue_psi0",
    "rdirich_dk_vects",
    "runif_dk_vects",
    "sample_unit_simplexn",
    "sspace_multinom",
    "sspace_multinom_sample",
    "sspace_multinom_slow",
    "xactonomial"
  ],
  "_help": [
    {
      "page": "calc_multinom_probs",
      "title": "Calculate multinomial probabilities",
      "topics": [
        "calc_multinom_probs"
      ]
    },
    {
      "page": "calc_prob_null",
      "title": "Calculate probability for given parameters",
      "topics": [
        "calc_prob_null"
      ]
    },
    {
      "page": "calc_prob_null_fast",
      "title": "Calculate probability for given parameters",
      "topics": [
        "calc_prob_null_fast"
      ]
    },
    {
      "page": "calc_prob_null_gradient",
      "title": "Gradient of the multinomial likelihood sum",
      "topics": [
        "calc_prob_null_gradient"
      ]
    },
    {
      "page": "combinate",
      "title": "Arrange all combinations of rows of two matrices",
      "topics": [
        "combinate"
      ]
    },
    {
      "page": "combinate2",
      "title": "Like combinate but adds on to previous call",
      "topics": [
        "combinate2"
      ]
    },
    {
      "page": "itp_root",
      "title": "Find a univariate root of the function f",
      "topics": [
        "itp_root"
      ]
    },
    {
      "page": "log_multinom_coef",
      "title": "Calculate log of multinomial coefficient",
      "topics": [
        "log_multinom_coef"
      ]
    },
    {
      "page": "pvalue_psi0",
      "title": "Compute a p value for the test of psi <= psi0 and/or psi >= psi0",
      "topics": [
        "pvalue_psi0"
      ]
    },
    {
      "page": "rdirich_dk_vects",
      "title": "Sample independently from Dirichlet distributions for each of d_k vectors",
      "topics": [
        "rdirich_dk_vects"
      ]
    },
    {
      "page": "runif_dk_vects",
      "title": "Sample uniformly and independently from d_k simplices",
      "topics": [
        "runif_dk_vects"
      ]
    },
    {
      "page": "sample_unit_simplexn",
      "title": "Sample n times from the unit simplex in d dimensions",
      "topics": [
        "sample_unit_simplexn"
      ]
    },
    {
      "page": "sspace_multinom",
      "title": "Enumerate the multinomial sample space",
      "topics": [
        "sspace_multinom"
      ]
    },
    {
      "page": "sspace_multinom_sample",
      "title": "Get a sumsample of the multinomial sample space",
      "topics": [
        "sspace_multinom_sample"
      ]
    },
    {
      "page": "sspace_multinom_slow",
      "title": "Enumerate the sample space of a multinomial",
      "topics": [
        "sspace_multinom_slow"
      ]
    },
    {
      "page": "xactonomial",
      "title": "Improved inference for a real-valued function of multinomial parameters",
      "topics": [
        "xactonomial"
      ]
    }
  ],
  "_readme": "https://github.com/sachsmc/xactonomial/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "example.Rmd",
      "filename": "example.html",
      "title": "Basic Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Maximum of parameters",
        "References"
      ],
      "created": "2024-01-24 14:41:13",
      "modified": "2025-07-08 09:22:42",
      "commits": 19
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "xactonomial",
  "_universes": [
    "sachsmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-09-29T10:43:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/06179ec3078fc0cc00c4df19c9ea55dd562f2ce22e5eea6d4c87b5ee8d807102",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-09-29T10:43:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/cbc2f94516e5a76884bae3b6beae3f38ebf9ec3a698b3f239d2c0bad84ee2a9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-09-29T10:43:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/838840cef7e9be8b7c942fda66902217f9a3ba7e95e34be12898fb6120decf48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-09-29T10:43:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/ceca1683f734f857ce608af3d0b11a478ffe30b49614fe2675edaeba80189aca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-09-29T11:48:42.000Z",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/7ae7da2814ad6e24155a79bb0b2681f046a1e7f9dda080c993f09d1079680e23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-09-29T11:50:32.000Z",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/64065170235136973d0e28ce397880347ad1ff2a83d5fe0b81c4f920de694dd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-09-29T11:49:37.000Z",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/1293715d1e0351af175015d0cf16a77db65ae96467a89be9f6f45f540c43c388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-09-29T11:50:40.000Z",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/3436b6e4a76a7953b0ff058aae5f6d1e1c7d47d6930ebe1564aeb251770dc5e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-09-29T10:45:56.000Z",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/2b42b63267ce7f8182a7563fc574d75157c315d60fb1211ffccc5b6a8591dae5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-09-29T10:42:38.000Z",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/07e289cd5b3a4a60a915a164fcb8736f693952d95148ed958f4529dbf9151d2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-09-29T10:42:55.000Z",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/a0f131fd10d31362a6ed05bc4f995423c013cc258703f1807637e9117d5fcc1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-09-29T10:45:55.000Z",
      "arch": "aarch64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/15cce8d5a5e9adebbd97549805bbe3d3e32eccc71ec3c4a103c10eaeebb5f2b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-09-29T10:42:21.000Z",
      "arch": "x86_64",
      "commit": "0e8f23e3af19445836f5a0b6e545a8b0a1a53877",
      "fileid": "https://r2.ropensci.org/714017e54200756179b847e69216888c9eb06a1e4369f3d7025d8027d88c523f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/36556597910"
    }
  ]
}