Skip to content

RoBSA

Robust Bayesian Survival Analysis

v1.0.4 · May 7, 2026 · GPL-3

Description

A framework for estimating ensembles of parametric survival models with different parametric families. The RoBSA framework uses Bayesian model-averaging to combine the competing parametric survival models into a model ensemble, weights the posterior parameter distributions based on posterior model probabilities and uses Bayes factors to test for the presence or absence of the individual predictors or preference for a parametric family (Bartoš, Aust & Haaf, 2022, <doi:10.1186/s12874-022-01676-9>). The user can define a wide range of informative priors for all parameters of interest. The package provides convenient functions for summary, visualizations, fit diagnostics, and prior distribution calibration.

Downloads

CRAN

260

Last 30 days

16072nd

775

Last 90 days

2.6K

Last year

Trend: -3.4% (30d vs prior 30d)

r2u CRAN

47

Last 30 days

126

Last 90 days

452

Last year

Trend: -6% (30d vs prior 30d)

CRAN Check Status

1 ERROR
12 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 ERROR
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-release-macos-arm64

whether package can be installed

Installation failed.
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/RoBSA.Rcheck/00install.out’ for details.

Check History

ERROR 10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE May 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vdiffr)
  > library(RoBSA)
  Loading required namespace: runjags
  > 
  > test_check("RoBSA")
  Saving _problems/test-0-C
...[truncated]...
    0.146        0.682"
  
  x[12]: "gamma-aft     4/20       0.200       0.194        0.961"
  y[12]: "gamma-aft     4/20       0.200       0.191        0.946"
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [22s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vdiffr)
  > library(RoBSA)
  Loading required namespace: runjags
  > 
  > test_check("RoBSA")
  Saving _problems/test-0-
...[truncated]...
    0.146        0.682"
  
  x[12]: "gamma-aft     4/20       0.200       0.194        0.961"
  y[12]: "gamma-aft     4/20       0.200       0.191        0.946"
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’ [49s/129s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vdiffr)
  > library(RoBSA)
  Loading required namespace: runjags
  > 
  > test_check("RoBSA")
  Saving _problems/test-0
...[truncated]...
    0.146        0.682"
  
  x[12]: "gamma-aft     4/20       0.200       0.194        0.961"
  y[12]: "gamma-aft     4/20       0.200       0.191        0.946"
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies BayesTools survival rjags runjags scales coda rlang Rdpack RoBSA

Version History

6 tracked
updated 1.0.4 ← 1.0.3 diff May 7, 2026
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.2 diff Mar 23, 2025
updated 1.0.2 ← 1.0.1 diff May 29, 2023
updated 1.0.1 ← 1.0.0 diff Mar 12, 2023
new 1.0.0 May 26, 2022