Skip to content

bage

0.10.11

Bayesian Estimation and Forecasting of Age-Specific Rates

0packages depend
4.9Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Fast Bayesian estimation and forecasting of age-specific rates, probabilities, and means, based on 'Template Model Builder'.

Changes in 0.10.11

Bug fixes

  • Fixed cell/year alignment when forecast() is called with multiple labels. Each forecast year now contains every observed combination of classification variables once, without duplicate or missing cells. This bug affected versions 0.10.9 and 0.10.10.
  • Forecast labels are checked for empty, missing, infinite, and duplicated values. Overlap with historical periods is checked after label conversion.

Changes to internal calculations

  • make_linpred_from_components() now accumulates the linear predictor in one matrix, adding each term in blocks of draw columns. This lowers peak memory use when augment() and forecast() are applied to large datasets.
Show all changes in 0.10.11Hide the rest of the changes in 0.10.11
  • draw_fitted_given_outcome() for Poisson and binomial models now generates .fitted in blocks of draws. This lowers peak memory use when augment() is applied to large datasets with dispersion.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 15.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-21
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.10.11
READMEYes · 69 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.10.11Citation fileNoWebsiteYes · pkgdown
Help pages
78 (1 internal)includes a package overview page
Examples that run
100%55 run in a plain check
Exported functions with examples
98%
Documented parameters
92%
Return-value docs
98%
Help pages citing references
10%
Vignettes (1)

Downloads

4.9K
CRAN downloads in the past year
Rank #5,743 · ~13/day · ~407/mo
Daily download trend is not available in this view yet.
76530 days
1.4K90 days
4.9K1 year
Compare downloads with other packages →
Also on654 r2u50 autocran

Repository

3Stars
1Forks
24Open issues
0Open PRs
0Releases
754Commits
1Commit identities
754 commits · Last activity 2026-10-03
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
38
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-12-30 · 32026-07-07 · 3
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/bayesiandemography/bage on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-03 · The repository has a site deploy workflow

pkgdown site last built 2026-10-03

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen on or before 2026-09-28
    Commits: at least 4 crediting it in the message
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
21 external dependencies (excludes base and recommended)

Installing bage adds 21 packages (13 with compiled code, 11 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, vctrs 1.0 MB.

Depends (2)
R >= 4.2.0rvec
Imports (13)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.7.4 (2024)
Releases (12)

Pick two releases to compare their code metrics.

  • 0.10.11Latest
    record
    2026-10-03 · current release · diff ↗
  • 0.10.10
    record
    2026-05-20 · diff ↗
  • 0.10.9
    record
    2026-05-20 · diff ↗ ·
    added 2 exports
    RW2_AR, RW2_AR1
  • R
    R 4.6.0 released · 2026-04-24
  • 0.10.8
    record
    2026-02-22 · diff ↗ ·
    added 5 exports
    DRW, DRW2, SVD_DRW, SVD_DRW2, SVD_Lin
  • 0.10.2
    record
    2025-11-19 · diff ↗
  • 0.10.1
    record
    2025-11-17 · diff ↗ ·
    added 2 exports
    dispersion, ssvd
  • 0.9.8
    record
    2025-10-16 · diff ↗
  • 0.9.7
    record
    2025-10-07 · diff ↗
  • 0.9.6
    record
    2025-10-01 · diff ↗ ·
    added 6 exports
    set_confidential_rr3, set_datamod_exposure, set_datamod_miscount, set_datamod_noise, set_datamod_overcount, set_datamod_undercount
  • 0.9.4
    record
    2025-07-20 · diff ↗ ·
    removed 1 export
    equation
    added 2 exports
    set_covariates, set_seeds
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.0
    record
    2025-01-08 · diff ↗ ·
    added 2 exports
    RW2_Infant, computations
  • 0.7.4
    record
    2024-08-28
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-08-28
Total releases
12 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Bundled data
1.4 MB / 19 files
Download size
3.8 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bage")
Bryant, J., Bayesian Demography Limited, & Zhang, J. (2026). bage: Bayesian Estimation and Forecasting of Age-Specific Rates (Version 0.10.11) [Computer software]. https://doi.org/10.32614/CRAN.package.bage

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 bage version 0.10.11 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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