Skip to content

Commit 4e55a4c

Browse files
committed
Remove library(dplyr) instances that were only needed for pipe
1 parent f8487c0 commit 4e55a4c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1
-58
lines changed

R/as_gt.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ as_gt <- function(x, ...) {
3535
#' @examples
3636
#' # Fixed design examples ----
3737
#'
38-
#' library(dplyr)
39-
#'
4038
#' # Enrollment rate
4139
#' enroll_rate <- define_enroll_rate(
4240
#' duration = 18,
@@ -162,7 +160,6 @@ fd_footnote <- function(x, method) {
162160
#' \donttest{
163161
#' # Group sequential design examples ---
164162
#'
165-
#' library(dplyr)
166163
#' # Example 1 ----
167164
#' # The default output
168165
#'

R/as_rtf.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ as_rtf <- function(x, ...) {
3939
#' @export
4040
#'
4141
#' @examples
42-
#' library(dplyr)
4342
#'
4443
#' # Enrollment rate
4544
#' enroll_rate <- define_enroll_rate(
@@ -181,7 +180,6 @@ check_rel_width <- function(width, n_col) {
181180
#' #'
182181
#' \donttest{
183182
#' # the default output
184-
#' library(dplyr)
185183
#'
186184
#' gs_design_ahr() |>
187185
#' summary() |>

R/fixed_design_ahr.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#'
4848
#' @examples
4949
#' # AHR method ----
50-
#' library(dplyr)
5150
#'
5251
#' # Example 1: given power and compute sample size
5352
#' x <- fixed_design_ahr(

R/fixed_design_fh.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#'
3131
#' @examples
3232
#' # WLR test with FH weights ----
33-
#' library(dplyr)
3433
#'
3534
#' # Example 1: given power and compute sample size
3635
#' x <- fixed_design_fh(

R/fixed_design_lf.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#'
3030
#' @examples
3131
#' # LF method ----
32-
#' library(dplyr)
3332
#'
3433
#' # Example 1: given power and compute sample size
3534
#' x <- fixed_design_lf(

R/fixed_design_maxcombo.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#'
3333
#' @examples
3434
#' # MaxCombo test ----
35-
#' library(dplyr)
3635
#'
3736
#' # Example 1: given power and compute sample size
3837
#' x <- fixed_design_maxcombo(

R/fixed_design_mb.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#'
3131
#' @examples
3232
#' # WLR test with MB weights ----
33-
#' library(dplyr)
3433
#'
3534
#' # Example 1: given power and compute sample size
3635
#' x <- fixed_design_mb(

R/fixed_design_milestone.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#'
3131
#' @examples
3232
#' # Milestone method ----
33-
#' library(dplyr)
3433
#'
3534
#' # Example 1: given power and compute sample size
3635
#' x <- fixed_design_milestone(

R/fixed_design_rd.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#'
3636
#' @examples
3737
#' # Binary endpoint with risk differences ----
38-
#' library(dplyr)
3938
#'
4039
#' # Example 1: given power and compute sample size
4140
#' x <- fixed_design_rd(

R/fixed_design_rmst.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#'
3131
#' @examples
3232
#' # RMST method ----
33-
#' library(dplyr)
3433
#'
3534
#' # Example 1: given power and compute sample size
3635
#' x <- fixed_design_rmst(

0 commit comments

Comments
 (0)