Skip to content

BATSS

Bayesian Adaptive Trial Simulator Software (BATSS) for Generalised Linear Models

v1.2.0 · May 28, 2026 · GPL-2

Description

Defines operating characteristics of Bayesian Adaptive Trials considering a generalised linear model response via Monte Carlo simulations of Bayesian GLM fitted via integrated Laplace approximations (INLA).

Downloads

CRAN

446

Last 30 days

9430th

1K

Last 90 days

3.1K

Last year

Trend: +44.8% (30d vs prior 30d)

r2u CRAN

2

Last 30 days

40

Last 90 days

236

Last year

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

autoCRAN

31

Last 7 days

99

Last 30 days

11

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 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 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’

Line coverage

Expression

Tests / Examples

Functions

27 12 exported

Complexity

10.3 avg / 89 max

Call network

27 nodes / 18 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

2,443

Files

29

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,909 (78.1%)Docs 534 (21.9%)

API

Exported functions

12

Internal functions

15

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

33.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2024-07-14

Latest release

2026-05-28

Avg cadence

80 days

Cold removal rate

Dep drift

1

LOC over versions

v0.7.14: 2,020 LOCv1.0.0: 2,108 LOCv1.0.1: 2,108 LOCv1.1.0: 2,340 LOCv1.1.1: 2,422 LOCv1.2.0: 2,443 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies abind plyr rlang R.utils cli sm BATSS

Version History

7 tracked
updated 1.2.0 ← 1.1.1 diff May 28, 2026
new 1.1.1 Mar 10, 2026
updated 1.1.1 ← 1.1.0 diff Oct 2, 2025
updated 1.1.0 ← 1.0.1 diff Sep 20, 2025
updated 1.0.1 ← 1.0.0 diff Aug 27, 2025
updated 1.0.0 ← 0.7.14 diff Oct 1, 2024
new 0.7.14 Jul 13, 2024