Skip to content

Commit cbc103e

Browse files
Merge pull request #491 from Merck/490-2-notes-from-cran-pre-test-on-v113
running time of `gs_design_wlr` example is > 5s
2 parents 67e7423 + 188c0aa commit cbc103e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

R/gs_design_wlr.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#' lower = gs_spending_bound,
7171
#' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
7272
#' analysis_time = 36,
73-
#' info_frac = 1:3/3
73+
#' info_frac = c(0.6, 1)
7474
#' )
7575
#'
7676
#' # Example 2 ----
@@ -87,7 +87,7 @@
8787
#' upar = list(sf = gsDesign::sfLDOF, total_spend = 0.025),
8888
#' lower = gs_spending_bound,
8989
#' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
90-
#' analysis_time = 1:3*12,
90+
#' analysis_time = c(24, 36),
9191
#' info_frac = NULL
9292
#' )
9393
#'
@@ -105,8 +105,8 @@
105105
#' upar = list(sf = gsDesign::sfLDOF, total_spend = 0.025),
106106
#' lower = gs_spending_bound,
107107
#' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
108-
#' analysis_time = 1:3*12,
109-
#' info_frac = c(0.3, 0.7, 1)
108+
#' analysis_time = c(24, 36),
109+
#' info_frac = c(0.6, 1)
110110
#' )
111111
gs_design_wlr <- function(
112112
enroll_rate = define_enroll_rate(

man/gs_design_wlr.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)