Skip to content

Commit d13212f

Browse files
committed
Use data.frame() to fix check note in regular R CMD check
1 parent eac958f commit d13212f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

R/wlr_weight.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ mb <- function(delay = 4, w_max = Inf) {
135135
#' sim_pw_surv(
136136
#' n = n, # Sample size
137137
#' # Stratified design with prevalence ratio of 6:4
138-
#' stratum = tibble(stratum = stratum, p = prevalence_ratio),
138+
#' stratum = data.frame(stratum = stratum, p = prevalence_ratio),
139139
#' # Randomization ratio
140140
#' block = c("control", "control", "experimental", "experimental"),
141141
#' enroll_rate = enroll_rate, # Enrollment rate

man/early_zero.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)