We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5572317 + 733fb75 commit e766587Copy full SHA for e766587
2 files changed
NAMESPACE
@@ -1,5 +1,7 @@
1
# Generated by roxygen2: do not edit by hand
2
3
+S3method(as_gt,fixed_design)
4
+S3method(as_gt,gs_design)
5
S3method(as_gt,simtrial_gs_wlr)
6
S3method(summary,simtrial_gs_wlr)
7
S3method(wlr,counting_process)
R/as_gt.R
@@ -142,3 +142,16 @@ as_gt.simtrial_gs_wlr <- function(x,
142
gt::tab_header(title = title, subtitle = subtitle)
143
}
144
145
+
146
+# Only purpose of the methods below is to fix S3 redirection when simtrial is
147
+# loaded after gsDesign2, which masks the as_gt() generic from gsDesign2
148
149
+#' @export
150
+as_gt.fixed_design <- function(x, ...) {
151
+ gsDesign2:::as_gt.fixed_design(x, ...)
152
+}
153
154
155
+as_gt.gs_design <- function(x, ...) {
156
+ gsDesign2:::as_gt.gs_design(x, ...)
157
0 commit comments