Skip to content
glmbayes needs insight, which CRAN will archive unless its check problems are fixed by Nov 14.

glmbayes

0.9.75Package record

Bayesian Generalized Linear Models (IID Samples)

0packages dependsuggested by 2
2.5Kdownloads / year
40.2%test coverage
13/13flavors OK

Overview

About

Provides Bayesian linear and generalized linear model fitting with independent and identically distributed (iid) posterior samples. The main functions mirror R's lm() and glm() interfaces while adding prior family specifications for Gaussian, Poisson, binomial, and Gamma models with log-concave likelihoods. Sampling for supported non-conjugate models uses accept-reject methods based on likelihood subgradients as in Nygren and Nygren (2006) doi:10.1198/016214506000000357. The package also includes tools for prior setup, posterior summaries, prediction, diagnostics, simulation, vignettes, and optional 'OpenCL' acceleration for larger models.

Changes in 0.9.75

Bug fixes

  • **Configure (Linux/macOS):** -DUSE_OPENCL is set only when a **non-PoCL** OpenCL platform exposes at least one **GPU** device. PoCL-only ICD stacks (typical on CRAN **debian-gcc** incoming) no longer enable OpenCL at compile time, so has_opencl() is FALSE during check and kernel builds do not touch ~/.cache/pocl (addresses incoming NOTE on tempfile_* there). Real GPU installs (NVIDIA/AMD/Intel) are unchanged.
  • **Vignette Chapter 16:** diagnose_glmbayes(), opencltools::diagnose_glmbayes(), and example(Cleveland) chunks are eval=FALSE during vignette rebuild (defense in depth alongside configure).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 18.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK6 OK2026-05-05
Advisories

none known

Documentation

In release 0.9.75
READMEYes · 2,115 wordsVignettesYes · 35 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.9.75Citation fileYes · cites a publicationWebsiteYes
Help pages
58 (1 internal)includes a package overview page
Examples that run
100%50 run in a plain check (1 of them under a condition)
Exported functions with examples
84%
Documented parameters
97%
Return-value docs
94%
Help pages citing references
62% with a bibliography file

Also includes 15 demo scripts (run with demo())

Vignettes (35)
Show 25 moreHide 25 vignettes

Downloads

2.5K
CRAN downloads in the past year
Rank #8,393 · ~7/day · ~207/mo
Daily download trend is not available in this view yet.
37730 days
1.1K90 days
2.5K1 year
Compare downloads with other packages →
Also on174 r2u4 autocran

Repository

5Stars
1Forks
5Open issues
0Open PRs
6Releases
1,127Commits
7Commit identities
1,127 commits · Last activity 2026-10-01 · 0% stars, 30d · Default branch at 0.9.76, ahead of CRAN 0.9.75 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
1,999
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2014-04-05 · 12026-07-07 · 5
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/knygren/glmbayes on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen 2026-04-18
    Seen in the repository: .cursor
    Named in .Rbuildignore: .cursor
    Commits: at least 2 crediting it in the message
  • Claude Codefirst seen 2026-04-24
    Named in .Rbuildignore: .claude
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing glmbayes adds 12 packages (7 with compiled code, 12 MB of source tarballs). Heaviest: nmathopencl 2.2 MB, Rcpp 1.8 MB, opencltools 1.6 MB.

Depends (2)
R >= 3.5.0MASS
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (8)
Author, Maintainer since 0.9.3 (2026)
Contributor, Copyright holder
R Mathlib sources, R stats modeling code, and derived/adapted routines
Contributor
Original R glm implementation
Contributor, Copyright holder
Portions of R Mathlib
Contributor, Copyright holder
R Mathlib and original R modeling infrastructure
Contributor
Portions of R Mathlib
Contributor, Copyright holder
Portions of R Mathlib
Copyright holder
Portions of R Mathlib and R source code
Releases (6)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-08-04
  • 0.9.75Latest
    record
    2026-08-04 · current release · diff ↗
  • archivedRemoved from CRAN
    2026-07-31
    policy violation Recommends packages from GitHub
  • 0.9.72
    record
    2026-07-26 · diff ↗
  • 0.9.7
    record
    2026-07-19 · diff ↗ ·
    removed 2 exports
    load_kernel_library, load_kernel_source
    added 15 exports
    check_prior, describe_prior, find_algorithm, find_parameters, get_data, get_parameters, get_priors, model_info, rBeta_prior, rGamma_Conjugate_prior, rGamma_prior, rIndependent_Normal_Gamma_prior, rNormal_Gamma_prior, rNormal_prior, simulate_prior
  • 0.9.6
    record
    2026-06-21 · diff ↗ ·
    removed 9 exports
    add_to_libpath_linux, add_to_path_linux, add_to_path_windows, check_runtime_env, detect_compute_runtimes, detect_environment_and_gpus, detect_or_install_gpu_drivers, gpu_names, verify_opencl_runtime
    added 4 exports
    dBeta, multi_prior_setup, rBeta_reg, rGamma_Conjugate_reg
  • 0.9.5
    record
    2026-05-18 · diff ↗
  • 0.9.3
    record
    2026-05-04
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-04
Total releases
6 / 1 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Bundled data
127 KB / 6 files
Download size
3.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("glmbayes")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glmbayes version 0.9.75 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy