{
  "_id": "6ae07fa94d02104fb3ec097d",
  "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.48550/arXiv.2504.11630>, 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",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/YuZh98/combreg",
  "BugReports": "https://github.com/YuZh98/combreg/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-27 10:34:05 UTC",
    "User": "root"
  },
  "Author": "Hugh Zheng [aut, cre, cph]",
  "Maintainer": "Hugh Zheng <hugh.stats@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-29 18:40:07 UTC",
  "RemoteUrl": "https://github.com/cran/combreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "0261705b6b026dfb62509b88fc176e916977ac77",
  "_user": "cran",
  "_type": "src",
  "_file": "combreg_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e7278b24914bd8948618fa12d075cbf82339749c06d7796f2761824fd8440c0a",
  "_filesize": 959794,
  "_sha256": "e7278b24914bd8948618fa12d075cbf82339749c06d7796f2761824fd8440c0a",
  "_expires": "2027-02-04T10:40:39.000Z",
  "_created": "2026-10-27T10:34:05.000Z",
  "_published": "2026-10-27T10:40:41.625Z",
  "_upstream": "https://github.com/cran/combreg",
  "_status": "success",
  "_maintainer": {
    "name": "Hugh Zheng",
    "email": "hugh.stats@gmail.com",
    "login": "yuzh98",
    "linkedin": "in/yu-zheng-statistics",
    "description": "",
    "uuid": 105947169
  },
  "_jobs": [
    {
      "job": 122139743382,
      "time": 181,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728940733"
    },
    {
      "job": 122139743381,
      "time": 208,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728430893"
    },
    {
      "job": 122139743445,
      "time": 183,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12727705957"
    },
    {
      "job": 122139743409,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728655940"
    },
    {
      "job": 122137745246,
      "time": 270,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728755270"
    },
    {
      "job": 122139743470,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12727845805"
    },
    {
      "job": 122139743320,
      "time": 301,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12728561243"
    },
    {
      "job": 122139743395,
      "time": 322,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12729105919"
    },
    {
      "job": 122139743399,
      "time": 333,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12729060876"
    },
    {
      "job": 122139743585,
      "time": 299,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12728881162"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265",
  "_commit": {
    "id": "0261705b6b026dfb62509b88fc176e916977ac77",
    "author": "Hugh Zheng <hugh.stats@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1785350407
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-07-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yuzh98",
      "count": 1,
      "uuid": 105947169
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 184,
    "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": false,
  "_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_precompute",
      "title": "Precompute quantities for the conjugate coefficient update",
      "topics": [
        "coef_precompute"
      ]
    },
    {
      "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": "draw_utility",
      "title": "Draw latent utilities from their truncated-normal full conditional",
      "topics": [
        "draw_utility"
      ]
    },
    {
      "page": "dual_feasible",
      "title": "Check dual-certificate feasibility",
      "topics": [
        "dual_feasible"
      ]
    },
    {
      "page": "fitted.crr_fit",
      "title": "Fitted responses",
      "topics": [
        "fitted.crr_fit"
      ]
    },
    {
      "page": "init_dual",
      "title": "Initialize dual certificates",
      "topics": [
        "init_dual"
      ]
    },
    {
      "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": "sample_dual",
      "title": "Update dual certificates given latent utilities",
      "topics": [
        "sample_dual"
      ]
    },
    {
      "page": "sample_utility",
      "title": "Metropolis-Hastings update of the latent utilities",
      "topics": [
        "sample_utility"
      ]
    },
    {
      "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"
      ]
    },
    {
      "page": "update_coef",
      "title": "Conjugate Gaussian update of the regression coefficients",
      "topics": [
        "update_coef"
      ]
    }
  ],
  "_readme": "https://github.com/cran/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-29 18:40:07",
      "modified": "2026-07-29 18:40:07",
      "commits": 1
    },
    {
      "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-29 18:40:07",
      "modified": "2026-07-29 18:40:07",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "combreg",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://yuzh98.r-universe.dev/combreg",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T10:35:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/894b98d1bca4f1f59c84d581ec8570362fec56e2582f6678c6af1dd4265ef103",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T10:36:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/bdbd9ffa420a791d6ca708b8359fa76292b1fa8bc0be3870da8b1f44603c162a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T10:35:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/4e499cb297faa6740d181dad26ac08453ded773b11f1cebd332da7d00799b667",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T10:36:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/4f9fd2cc319c929698ab239fd512239838f56ce8700f80d82e9a1843205d7ec1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-27T10:36:12.000Z",
      "arch": "emscripten",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/87edf9285f1f6c8673cbfdd31326e7a1dd19e3a21177d2b9b7d474389817a4db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T10:37:10.000Z",
      "arch": "aarch64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/c84317d55244712857513a1e457522ec35d4257839594879db5f78606627d747",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T10:35:27.000Z",
      "arch": "x86_64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/6028bb24c86ebccacfd4df90a041b7224b2d251582e2801448cd5a62fa95eb4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T10:37:45.000Z",
      "arch": "aarch64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/c6abb2b5ae94d9410f4dc0f42d2e86d029c2dd1e0d92505b01f8ec0556089277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T10:35:35.000Z",
      "arch": "x86_64",
      "commit": "0261705b6b026dfb62509b88fc176e916977ac77",
      "fileid": "https://r2.ropensci.org/188e3cc89d4be14a9bdb5bb0ae1b0a8ae26099a0a7e22083de6b33972332dfea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40488894265"
    }
  ]
}