Skip to content

Keyboard

Bayesian Designs for Early Phase Clinical Trials

v0.1.3 · Aug 11, 2022 · GPL-2

Description

We developed a package 'Keyboard' for designing single-agent, drug-combination, or phase I/II dose-finding clinical trials. The 'Keyboard' designs are novel early phase trial designs that can be implemented simply and transparently, similar to the 3+3 design, but yield excellent performance, comparable to those of more-complicated, model-based designs (Yan F, Mandrekar SJ, Yuan Y (2017) <doi:10.1158/1078-0432.CCR-17-0220>, Li DH, Whitmore JB, Guo W, Ji Y. (2017) <doi:10.1158/1078-0432.CCR-16-1125>, Liu S, Johnson VE (2016) <doi:10.1093/biostatistics/kxv040>, Zhou Y, Lee JJ, Yuan Y (2019) <doi:10.1002/sim.8475>, Pan H, Lin R, Yuan Y (2020) <doi:10.1016/j.cct.2020.105972>). The 'Keyboard' package provides tools for designing, conducting, and analyzing single-agent, drug-combination, and phase I/II dose-finding clinical trials. For more details about how to use this packge, please refer to Li C, Sun H, Cheng C, Tang L, and Pan H. (2022) "A software tool for both the maximum tolerated dose and the optimal biological dose finding trials in early phase designs". Manuscript submitted for publication.

Downloads

CRAN

323

Last 30 days

13999th

723

Last 90 days

2.7K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

94

Last year

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

autoCRAN

3

Last 7 days

14

Last 30 days

0

All-time

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

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiaomeng Yuan <xiaomeng.yuan@stjude.org>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaomeng",
                      family = "Yuan",
                      role = c("aut", "cre"),
                      email = "xiaomeng.yuan@stjude.org"),
               person(given = "Chen",
                      family = "Li",
                      role = "aut"),
               person(given = "Hongying",
                      family = "Sun",
                      role = "aut"),
               person(given = "Li",
                      family = "Tang",
                      role = "aut"),
               person(given = "Haitao",
                      family = "Pan",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiaomeng Yuan <xiaomeng.yuan@stjude.org>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaomeng",
                      family = "Yuan",
                      role = c("aut", "cre"),
                      email = "xiaomeng.yuan@stjude.org"),
               person(given = "Chen",
                      family = "Li",
                      role = "aut"),
               person(given = "Hongying",
                      family = "Sun",
                      role = "aut"),
               person(given = "Li",
                      family = "Tang",
                      role = "aut"),
               person(given = "Haitao",
                      family = "Pan",
                      role = "aut"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiaomeng Yuan <xiaomeng.yuan@stjude.org>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaomeng",
                      family = "Yuan",
                      role = c("aut", "cre"),
      
...[truncated]...
= "aut"),
               person(given = "Li",
                      family = "Tang",
                      role = "aut"),
               person(given = "Haitao",
                      family = "Pan",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiaomeng Yuan <xiaomeng.yuan@stjude.org>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiaomeng",
                      family = "Yuan",
                      role = c("aut", "cre"),
      
...[truncated]...
= "aut"),
               person(given = "Li",
                      family = "Tang",
                      role = "aut"),
               person(given = "Haitao",
                      family = "Pan",
                      role = "aut"))
as necessary.

Code

Structure

Lines of code

6,272

Files

36

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,263 (68%)Docs 2,009 (32%)

API

Exported functions

16

Internal functions

0

Recent export changes

v0.1.3+2 plot_kb, summary_kb  −2 plot.kb, summary.kb
v0.1.0+16 plot.kb, summary.kb, decision.finding +13 more

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

50%

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

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.4.0

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2020-07-07

Latest release

2022-08-11

Avg cadence

765 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v0.1.0: 6,230 LOCv0.1.3: 6,272 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp Iso ggplot2 Keyboard

Version History

3 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.0 diff Aug 10, 2022
new 0.1.0 Jul 6, 2020