{
  "_id": "6ace0f6fa14063b82c3af19a",
  "Package": "combreg",
  "Type": "Package",
  "Title": "Bayesian Regression for Combinatorial Response Data",
  "Version": "0.2.0",
  "Authors@R": "person(\"Hugh\", \"Zheng\", email = \"hugh.stats@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Bayesian regression whose response data are integer-valued\nvectors subject to combinatorial constraints in the form of\nAy<=b. Implements the Metropolis-Hastings-within-Gibbs sampler\nof Zheng et al. (2026) <doi:10.1080/01621459.2026.2714575>, an\nunconstrained probit baseline for comparison, benchmarking\nhelpers, MCMC and regression diagnostics (effective sample\nsizes, split-Rhat, structured reports), plotting methods\n(trace, autocorrelation, violin, effective-sample-size,\nsampling-efficiency, residual heat map), and utilities for\nconstraint validation (total unimodularity, feasibility) and\ndata simulation.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/YuZh98/combreg",
  "BugReports": "https://github.com/YuZh98/combreg/issues",
  "Repository": "https://yuzh98.r-universe.dev",
  "Date/Publication": "2026-08-14 10:48:59 UTC",
  "RemoteUrl": "https://github.com/yuzh98/combreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 10:49:37 UTC",
    "User": "root"
  },
  "Author": "Hugh Zheng [aut, cre, cph]",
  "Maintainer": "Hugh Zheng <hugh.stats@gmail.com>",
  "_user": "yuzh98",
  "_type": "src",
  "_file": "combreg_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/fb4b378eeaa272d1ef5f119b87ed02d8c5e8b13654c406909c87fbd67e8a653d",
  "_filesize": 929710,
  "_sha256": "fb4b378eeaa272d1ef5f119b87ed02d8c5e8b13654c406909c87fbd67e8a653d",
  "_expires": "2027-01-21T11:01:01.000Z",
  "_created": "2026-10-13T10:49:37.000Z",
  "_published": "2026-10-13T11:01:03.706Z",
  "_buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115258055748,
      "time": 247,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807400513"
    },
    {
      "job": 115258055725,
      "time": 253,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11806296892"
    },
    {
      "job": 115258055764,
      "time": 241,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807425474"
    },
    {
      "job": 115258055646,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807645189"
    },
    {
      "job": 115258055912,
      "time": 271,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11806840816"
    },
    {
      "job": 115258055835,
      "time": 616,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11806452786"
    },
    {
      "job": 115258055902,
      "time": 279,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806262233"
    },
    {
      "job": 115258055849,
      "time": 326,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806357271"
    },
    {
      "job": 115256798291,
      "time": 200,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806351234"
    },
    {
      "job": 115258055557,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11807370086"
    },
    {
      "job": 115258055828,
      "time": 442,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807326091"
    },
    {
      "job": 115258055724,
      "time": 316,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807585609"
    },
    {
      "job": 115258055680,
      "time": 329,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11806317175"
    },
    {
      "job": 115258055880,
      "time": 433,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806517266"
    },
    {
      "job": 115258055865,
      "time": 285,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807455608"
    }
  ],
  "_upstream": "https://github.com/yuzh98/combreg",
  "_commit": {
    "id": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
    "author": "YuZh98 <105947169+YuZh98@users.noreply.github.com>",
    "committer": "YuZh98 <105947169+YuZh98@users.noreply.github.com>",
    "message": "docs: point every method reference at the published article\n\nThe method paper is no longer a preprint, so the \"(2026+)\" forthcoming\nmarker and the arXiv DOI are wrong everywhere they appear.\n\n- DESCRIPTION: Zheng et al. (2026) with the JASA DOI; man/combreg-package.Rd\n  regenerated to match.\n- README: three inline references and the citation block.\n- cran-comments.md: the method-reference DOI cited to reviewers.\n- inst/scripts/reproduce-table2.R: header comment.\n- NEWS: note the change under the development version, since\n  citation(\"combreg\") output changes for users.\n",
    "time": 1786704539
  },
  "_maintainer": {
    "name": "Hugh Zheng",
    "email": "hugh.stats@gmail.com",
    "login": "yuzh98",
    "linkedin": "in/yu-zheng-statistics",
    "description": "",
    "uuid": 105947169
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "yuzh98",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 9
    },
    {
      "week": "2026-29",
      "n": 11
    },
    {
      "week": "2026-30",
      "n": 12
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-07-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yuzh98",
      "count": 58,
      "uuid": 105947169
    }
  ],
  "_userbio": {
    "uuid": 105947169,
    "type": "user",
    "name": "Hugh Zheng",
    "followers": 6
  },
  "_downloads": {
    "count": 234,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/combreg"
  },
  "_devurl": "https://github.com/yuzh98/combreg",
  "_searchresults": 6,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/combreg.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/yuzh98/combreg",
  "_realowner": "yuzh98",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-07-29"
    }
  ],
  "_exports": [
    "coef_precompute",
    "crr",
    "crr_benchmark",
    "crr_constraints",
    "crr_control",
    "crr_diagnostics",
    "crr_ess",
    "crr_ppc",
    "crr_prior",
    "crr_rhat",
    "draw_utility",
    "dual_feasible",
    "init_dual",
    "is_feasible",
    "is_tum",
    "random_constraints",
    "sample_dual",
    "sample_utility",
    "simulate_crr",
    "update_coef"
  ],
  "_help": [
    {
      "page": "as_draws.crr_fit",
      "title": "Convert to posterior draws_array",
      "topics": [
        "as_draws.crr_fit"
      ]
    },
    {
      "page": "as.mcmc.crr_fit",
      "title": "Convert to coda mcmc.list",
      "topics": [
        "as.mcmc.crr_fit"
      ]
    },
    {
      "page": "coef.crr_fit",
      "title": "Posterior mean coefficients",
      "topics": [
        "coef.crr_fit"
      ]
    },
    {
      "page": "crr",
      "title": "Bayesian combinatorial response regression",
      "topics": [
        "crr"
      ]
    },
    {
      "page": "crr_benchmark",
      "title": "Benchmark samplers on a common data set",
      "topics": [
        "crr_benchmark"
      ]
    },
    {
      "page": "crr_constraints",
      "title": "Constraint system for combinatorial responses",
      "topics": [
        "crr_constraints"
      ]
    },
    {
      "page": "crr_control",
      "title": "Sampler control parameters",
      "topics": [
        "crr_control"
      ]
    },
    {
      "page": "crr_diagnostics",
      "title": "MCMC and regression diagnostics report",
      "topics": [
        "crr_diagnostics"
      ]
    },
    {
      "page": "crr_ess",
      "title": "Effective sample sizes",
      "topics": [
        "crr_ess"
      ]
    },
    {
      "page": "crr_ppc",
      "title": "Posterior predictive goodness-of-fit checks",
      "topics": [
        "crr_ppc"
      ]
    },
    {
      "page": "crr_prior",
      "title": "Prior specification for crr models",
      "topics": [
        "crr_prior"
      ]
    },
    {
      "page": "crr_rhat",
      "title": "Split-Rhat convergence diagnostics",
      "topics": [
        "crr_rhat"
      ]
    },
    {
      "page": "fitted.crr_fit",
      "title": "Fitted responses",
      "topics": [
        "fitted.crr_fit"
      ]
    },
    {
      "page": "is_feasible",
      "title": "Check feasibility of responses",
      "topics": [
        "is_feasible"
      ]
    },
    {
      "page": "is_tum",
      "title": "Check total unimodularity",
      "topics": [
        "is_tum"
      ]
    },
    {
      "page": "plot.crr_fit",
      "title": "Diagnostic plots for a crr fit",
      "topics": [
        "plot.crr_fit"
      ]
    },
    {
      "page": "predict.crr_fit",
      "title": "Posterior predictions",
      "topics": [
        "predict.crr_fit"
      ]
    },
    {
      "page": "random_constraints",
      "title": "Generate a random totally unimodular constraint system",
      "topics": [
        "random_constraints"
      ]
    },
    {
      "page": "residuals.crr_fit",
      "title": "Response residuals",
      "topics": [
        "residuals.crr_fit"
      ]
    },
    {
      "page": "simulate_crr",
      "title": "Simulate combinatorial response regression data",
      "topics": [
        "simulate_crr"
      ]
    },
    {
      "page": "summary.crr_fit",
      "title": "Posterior summary of a crr fit",
      "topics": [
        "summary.crr_fit"
      ]
    }
  ],
  "_readme": "https://github.com/yuzh98/combreg/raw/HEAD/README.md",
  "_rundeps": [
    "coda",
    "lattice",
    "Rcpp",
    "RcppArmadillo",
    "truncnorm"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "diagnostics.Rmd",
      "filename": "diagnostics.html",
      "title": "Diagnostics and benchmarking",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup: simulate and fit",
        "The diagnostics report",
        "Reading the goodness-of-fit checks",
        "Standalone ESS and split-Rhat",
        "Standalone posterior predictive checks",
        "Reading the report table",
        "Plotting methods",
        "Benchmarking against the unconstrained baseline",
        "A non-trivial example: bipartite matching"
      ],
      "created": "2026-07-12 18:35:34",
      "modified": "2026-07-20 19:31:22",
      "commits": 5
    },
    {
      "source": "combreg.Rmd",
      "filename": "combreg.html",
      "title": "Introduction to combreg",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The model",
        "Defining constraints",
        "Simulating data and fitting",
        "Why constraints matter",
        "The adaptive zeta_block controller",
        "Customizing the sampler",
        "Formula interface",
        "Building custom models from primitives"
      ],
      "created": "2026-07-12 05:27:14",
      "modified": "2026-07-20 19:31:22",
      "commits": 5
    }
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "combreg",
  "_universes": [
    "yuzh98"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-13T10:52:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/da0385541366a230a1be43545ef08414da4f4ae58adcec957004f8cd7f8836e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-13T10:52:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/89044e2327c11a9ad3a16eaff2829889bad2a89bd05387a9cc49a18086440c3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-13T10:52:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/0b225d264796f0b4e3cc222feacaeb493b1665fc58fb85d3996bcb6b545d3097",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-13T10:51:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/16f25da1a11733baea2f342021f8ad833b1c96a65f02a882dfa765e5ee6ebfd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-13T10:53:17.000Z",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/5ab375788b020b2106b872ec3727da706de76b8c37983309656c4775ae4ad7c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-13T10:55:56.000Z",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/d81177a069bed52ffb0133fa2f39d9df321d875b360d8c5f7d99e2bfbb0621a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-13T10:53:38.000Z",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/16cd34778b1615890660c0a9cfd5310f80438d9fcba0622bd11deba2dbe719c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-13T10:54:08.000Z",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/99bebe5fba2e3faa4a6d3e4f51d5707066c334c9c321f66f2aecffc0970caeed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-13T10:51:43.000Z",
      "arch": "emscripten",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/1e03730028e3d450ff02e8150156258c6d62ede43de088e6d4e5f4dc25765c72",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-13T10:54:35.000Z",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/2333b63058086cc76915e355e41e58eaf9f66346596e853dc8cb417326b7d2f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-13T10:51:03.000Z",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/a43ef49a7d9e4106d3bf80cb3ee9d9ebbf57bd3577c30499f6021f4aba5ba822",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-13T10:51:10.000Z",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/ff854206bc5dc64e317606bf5cd0e9eeb5cbf01c7f928c4794c5931a22646f9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-13T10:54:37.000Z",
      "arch": "aarch64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/83f3c49b11400e8d38dfe2c042ea16bfe4074369c18525e3e42ab64261d9c1f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-13T10:51:04.000Z",
      "arch": "x86_64",
      "commit": "1a400d3145e9de5aa6d0f5a4ba3821783e5d9276",
      "fileid": "https://r2.ropensci.org/a96cb3e131811a5f0bf59474c96a54c9c2c0e7d4e8dbc09ae636f00838cd7a24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yuzh98/actions/runs/38385654770"
    }
  ]
}