Skip to content

snSMART

0.2.4Package record

Small N Sequential Multiple Assignment Randomized Trial Methods

0packages depend
2.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Consolidated data simulation, sample size calculation and analysis functions for several snSMART (small sample sequential, multiple assignment, randomized trial) designs under one library. See Wei, B., Braun, T.M., Tamura, R.N. and Kidwell, K.M. "A Bayesian analysis of small n sequential multiple assignment randomized trials (snSMARTs)." (2018) Statistics in medicine, 37(26), pp.3723-3732 doi:10.1002/sim.7900.

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-23
  • ERROR12 OK, 1 ERROR2026-06-22
  • OK13 OK2026-06-09
Show 8 earlier changesHide 8 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-06-06
  • ERROR12 OK, 1 ERROR2026-06-05
  • OK14 OK2026-04-02
  • ERROR13 OK, 1 ERROR2026-04-01
  • OK14 OK2026-03-21
  • ERROR13 OK, 1 ERROR2026-03-20
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.4
README· In the repository, left out of the releaseVignettesNoNEWSNoCitation fileNo
Help pages
14 (1 internal)includes a package overview page
Examples that run
90%9 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
36%

Downloads

2.7K
CRAN downloads in the past year
Rank #19,984 · ~7/day · ~222/mo
Daily download trend is not available in this view yet.
25330 days
65790 days
2.7K1 year
Compare downloads with other packages →
Also on69 r2u

Repository

2Stars
3Forks
2Open issues
0Open PRs
1Releases
226Commits
14Commit identities
bayesian-analysisclinical-trialsrrare-diseasesmall-sample
License file reads as GPL-2.0 · 226 commits · Last activity 2024-10-07 · 0% stars, 30d · Discussions: 2 posts
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-05-05 · 12026-07-07 · 2
PracticesBeta

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

Checks run against github.com/sidiwang/snsmart on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (3)
Code of conductContributing guideIssue templates
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing snSMART adds 47 packages (22 with compiled code, 40 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, cubature 3.2 MB.

Depends (2)
R >= 3.5.0EnvStats
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Maintainer since 0.1.0 (2022)
Author
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.4Latest
    record
    2024-10-16 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.3
    record
    2023-07-19 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.2
    record
    2022-11-16 · diff ↗
  • unarchivedReturned to CRAN
    2022-10-06
  • 0.2.1
    record
    2022-10-06 · diff ↗ ·
    added 12 exports
    print.BJSM_binary, print.BJSM_c, print.BJSM_dose_binary, print.LPJSM_binary, print.group_seq, print.sample_size, print.summary.BJSM_binary, print.summary.BJSM_c, print.summary.BJSM_dose_binary, print.summary.LPJSM_binary, print.summary.group_seq, print.summary.sample_size
  • archivedRemoved from CRAN
    2022-09-28
    issues were not corrected in time
  • 0.1.0
    record
    2022-08-26
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-08-26
Total releases
5 / 4 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
6.2 KB / 5 files
Download size
41 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("snSMART")
Kleinsasser, M., Kidwell, K., & Wang, S. (2024). snSMART: Small N Sequential Multiple Assignment Randomized Trial Methods (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.snSMART

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

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