Skip to content

Commit d7938a3

Browse files
committed
Wrap as_gt.gs_design() examples in \donttest{}
1 parent 9ccde9c commit d7938a3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

R/as_gt.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ fd_footnote <- function(x, method) {
157157
#' @export
158158
#'
159159
#' @examplesIf !identical(Sys.getenv("IN_PKGDOWN"), "true")
160+
#' \donttest{
160161
#' # Group sequential design examples ---
161162
#'
162163
#' library(dplyr)
@@ -242,7 +243,7 @@ fd_footnote <- function(x, method) {
242243
#' gs_power_wlr(lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.1)) %>%
243244
#' summary() %>%
244245
#' as_gt(display_columns = c("Analysis", "Bound", "Nominal p", "Z", "Probability"))
245-
#'
246+
#' }
246247
as_gt.gs_design <- function(
247248
x,
248249
title = NULL,

man/as_gt.Rd

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

0 commit comments

Comments
 (0)