Package: glmbayesCore
Type: Package
Title: Core C++ Sampling Engine for 'glmbayes'
Version: 0.6.0
Date: 2026-10-02
Authors@R: c(
    person("Kjell", "Nygren", role = c("aut", "cre"),
           email = "kjell.a.nygren@gmail.com"),
    person("The R Core Team", role = c("ctb", "cph"),
           comment = "R Mathlib sources, R stats modeling code, and derived/adapted routines"),
    person("The R Foundation", role = "cph",
           comment = "Portions of R Mathlib and R source code"),
    person("Ross", "Ihaka", role = c("ctb", "cph"),
           comment = "R Mathlib and original R modeling infrastructure"),
    person("Robert", "Gentleman", role = c("ctb", "cph"),
           comment = "Portions of R Mathlib"),
    person("Simon", "Davies", role = "ctb",
           comment = "Original R glm implementation"),
    person("Morten", "Welinder", role = c("ctb", "cph"),
           comment = "Portions of R Mathlib"),
    person("Martin", "Maechler", role = "ctb",
           comment = "Portions of R Mathlib"),
    person("Douglas", "Bates", role = "ctb",
           comment = "mixed-model formula and reference-fit conventions via the lme4 API"),
    person("Ben", "Bolker", role = "ctb",
           comment = "lme4/reformulas mixed-model APIs; glmmTMB reference fits (dispformula)"),
    person("Steven", "Walker", role = "ctb",
           comment = "mixed-model formula module via the lme4 API"),
    person("Anna", "Ly", role = "ctb",
           comment = "random-effects formula parsing via the reformulas API"),
    person("Mollie", "Brooks", role = "ctb",
           comment = "glmmTMB reference-fit API for per-group dispersion (dispformula)"),
    person("Kasper", "Kristensen", role = "ctb",
           comment = "glmmTMB reference-fit API for per-group dispersion (dispformula)"),
    person("The Khronos Group Inc", role = "cph",
           comment = "OpenCL API headers in inst/include/CL (Apache License 2.0)")
    )
Description: Core C++ engine for 'glmbayes': envelope-based iid linear
        and generalized linear model samplers, prior-family routing,
        and optional 'OpenCL' acceleration. Sampling for supported
        non-conjugate models uses accept-reject methods based on
        likelihood subgradients as in Nygren and Nygren (2006)
        <doi:10.1198/016214506000000357>. Intended as a developer
        backend for the 'glmbayes' formula interface; end users should
        use 'glmbayes' for modelling with interfaces analogous to 'lm'
        and 'glm'. Experimental mixed-model design utilities use the
        'lme4', 'Matrix', 'reformulas', and 'glmmTMB' packages (API
        only; no bundled third-party source).
License: GPL-2
Copyright: see file COPYRIGHTS
URL: https://github.com/knygren/glmbayesCore
BugReports: https://github.com/knygren/glmbayesCore/issues
Imports: stats, lme4, Matrix, reformulas, glmmTMB, Rcpp (>= 1.1.1),
        RcppParallel, Rdpack (>= 0.11-0), opencltools (>= 0.8.1),
        nmathopencl
RdMacros: Rdpack
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, opencltools
Depends: MASS, R (>= 3.5.0)
Suggests: glmbayes, coda, bayesrules, bayestestR, LearnBayes, testthat
        (>= 3.0.0), spelling, knitr, rmarkdown
SystemRequirements: Optional OpenCL support. If available, GPU
        acceleration will be used; otherwise, computation runs on CPU.
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
VignetteBuilder: knitr
Config/testthat/edition: 3
LazyData: true
Language: en-US
Config/pak/sysreqs: cmake make libicu-dev ocl-icd-opencl-dev
Repository: https://knygren.r-universe.dev
Date/Publication: 2026-10-03 10:35:17 UTC
RemoteUrl: https://github.com/knygren/glmbayesCore
RemoteRef: HEAD
RemoteSha: 3b6628593a823fcffc895a23302e6697adb97201
NeedsCompilation: yes
Packaged: 2026-10-03 13:42:29 UTC; root
Author: Kjell Nygren [aut, cre],
  The R Core Team [ctb, cph] (R Mathlib sources, R stats modeling code,
    and derived/adapted routines),
  The R Foundation [cph] (Portions of R Mathlib and R source code),
  Ross Ihaka [ctb, cph] (R Mathlib and original R modeling
    infrastructure),
  Robert Gentleman [ctb, cph] (Portions of R Mathlib),
  Simon Davies [ctb] (Original R glm implementation),
  Morten Welinder [ctb, cph] (Portions of R Mathlib),
  Martin Maechler [ctb] (Portions of R Mathlib),
  Douglas Bates [ctb] (mixed-model formula and reference-fit conventions
    via the lme4 API),
  Ben Bolker [ctb] (lme4/reformulas mixed-model APIs; glmmTMB reference
    fits (dispformula)),
  Steven Walker [ctb] (mixed-model formula module via the lme4 API),
  Anna Ly [ctb] (random-effects formula parsing via the reformulas API),
  Mollie Brooks [ctb] (glmmTMB reference-fit API for per-group dispersion
    (dispformula)),
  Kasper Kristensen [ctb] (glmmTMB reference-fit API for per-group
    dispersion (dispformula)),
  The Khronos Group Inc [cph] (OpenCL API headers in inst/include/CL
    (Apache License 2.0))
Maintainer: Kjell Nygren <kjell.a.nygren@gmail.com>
