Skip to content

Commit

Permalink
Merge pull request #405 from Merck/404-default-title-is-not-displayed
Browse files Browse the repository at this point in the history
404 default title is not displayed
  • Loading branch information
LittleBeannie authored May 29, 2024
2 parents 9071ab1 + afd8b5a commit 48a165b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gsDesign2
Title: Group Sequential Design with Non-Constant Effect
Version: 1.1.2.7
Version: 1.1.2.8
Authors@R: c(
person("Keaven", "Anderson", email = "[email protected]", role = c("aut")),
person("Yilong", "Zhang", email = "[email protected]", role = c("aut")),
Expand Down
2 changes: 1 addition & 1 deletion R/as_gt.R
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ as_gt.gs_design <- function(
# Set defaults ----
# set different default title to different methods
if (method == "ahr" && is.null(title)) {
title <- ifelse("Bound summary for AHR design")
title <- "Bound summary for AHR design"
}
if (method == "wlr" && is.null(title)) {
title <- "Bound summary for WLR design"
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/independent_as_gt.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
\setlength{\LTpost}{0mm}
\begin{longtable}{lrrrrr}
\caption*{
{\large NA} \\
{\large Bound summary for AHR design} \\
{\small AHR approximations of \textasciitilde{}HR at bound}
} \\
\toprule
Expand All @@ -78,7 +78,7 @@
\setlength{\LTpost}{0mm}
\begin{longtable}{lrrrrr}
\caption*{
{\large NA} \\
{\large Bound summary for AHR design} \\
{\small AHR approximations of \textasciitilde{}HR at bound}
} \\
\toprule
Expand Down

0 comments on commit 48a165b

Please sign in to comment.