Skip to content

Commit 208f505

Browse files
committed
running time of gs_design_wlr example is > 5s
1 parent 67e7423 commit 208f505

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

R/gs_design_wlr.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
#'
5858
#' # Example 1 ----
5959
#' # Information fraction driven design
60+
#' \donttest{
6061
#' gs_design_wlr(
6162
#' enroll_rate = enroll_rate,
6263
#' fail_rate = fail_rate,
@@ -72,9 +73,11 @@
7273
#' analysis_time = 36,
7374
#' info_frac = 1:3/3
7475
#' )
76+
#' }
7577
#'
7678
#' # Example 2 ----
7779
#' # Calendar time driven design
80+
#' \donttest{
7881
#' gs_design_wlr(
7982
#' enroll_rate = enroll_rate,
8083
#' fail_rate = fail_rate,
@@ -90,9 +93,11 @@
9093
#' analysis_time = 1:3*12,
9194
#' info_frac = NULL
9295
#' )
96+
#' }
9397
#'
9498
#' # Example 3 ----
9599
#' # Both calendar time and information fraction driven design
100+
#' \donttest{
96101
#' gs_design_wlr(
97102
#' enroll_rate = enroll_rate,
98103
#' fail_rate = fail_rate,
@@ -108,6 +113,7 @@
108113
#' analysis_time = 1:3*12,
109114
#' info_frac = c(0.3, 0.7, 1)
110115
#' )
116+
#' }
111117
gs_design_wlr <- function(
112118
enroll_rate = define_enroll_rate(
113119
duration = c(2, 2, 10),

man/gs_design_wlr.Rd

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)