Skip to content

historicalborrowlong

0.1.0

Longitudinal Bayesian Historical Borrowing Models

0packages depend
8.2Kdownloads / year
88.6%test coverage
13/13checks pass

Overview

About
Maintained by William Michael LandauFirst published 2022-09-135 releasesCRAN page ↗GitHub ↗

Historical borrowing in clinical trials can improve precision and operating characteristics. This package supports a longitudinal hierarchical model to borrow historical control data from other studies to better characterize the control response of the current study. It also quantifies the amount of borrowing through longitudinal benchmark models (independent and pooled). The hierarchical model approach to historical borrowing is discussed by Viele et al. (2013) doi:10.1002/pst.1589.

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.75
88.6%
Coverage · measured lines
100%
Documentation · exports
20
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 177 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
87%
Return-value docs
100%
References docs
0%

Downloads

8.2K
CRAN downloads in the past year
Rank #4,624 · ~23/day · ~687/mo
Daily download trend is not available in this view yet.
55930 days
2K90 days
8.2K1 year
Compare downloads with other packages →
Also on409 r2u18 autocran

Repository

Repository
8Stars
1Forks
0Open issues
0Open PRs
5Releases
57Commits
4Contributors
bayesian-statisticsclinical-trialshistorical-data
57 commits · Last activity 2025-02-25

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/wlandau/historicalborrowlong on 2026-07-19.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (2)
lintrRStudio project
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 5,774 (50%)C 2,943 (25%)Rd 2,535 (22%)Vignettes 272 (2%)C++ 57 (0%)Other 46 (0%)
Code characteristics
Cyclomatic complexity
1.0 median / 11 max
Test cases
70 / 0.75 per code line
System requirements
1 external

Test coverage

Line coverage

89%

Expression

84.5%

Tests / Examples

88.6% / 64% ex

Functions

72 16 exported

Complexity

2.1 avg / 11 max

Call network

72 nodes / 117 edges

Loading call graph…

Lowest coverage

72 functions
FunctionCycloCoverage
hbl_convergence exp1100%
hbl_data exp5100%
hbl_ess exp1100%
hbl_mcmc_hierarchical exp1100%
hbl_mcmc_independent exp1100%
hbl_mcmc_pool exp1100%

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder
Reviewers (1)
Reviewer
Listed in earlier versions (1)
no longer listed · 0.0.5 to 0.1.0
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0Latest
    2024-09-25 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.8
    2023-11-30 · diff ↗
  • unarchivedReturned to CRAN
    2023-11-30
  • archivedRemoved from CRAN
    2023-10-25
    requires archived package 'clustermq'
  • 0.0.7
    2023-09-11 · diff ↗
  • 0.0.6
    2023-06-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.5
    2022-09-13
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-13
Total releases
5 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Download size
84 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →