Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
cc714fd
Replace gt dependency with lt
yihui May 21, 2026
836d523
Add as_lt() documentation; update roxygen metadata
yihui May 21, 2026
6b09388
Fix unquoted column names in lt_spanner() calls
yihui May 21, 2026
f860404
Add Remotes: yihui/lt for CI installation
yihui May 21, 2026
1cf4873
Update _pkgdown.yml: as_gt -> as_lt
yihui May 21, 2026
2d91429
Deprecate as_gt(); style as_lt() to match gt appearance
yihui Jun 2, 2026
96062d2
Merge remote-tracking branch 'origin/main' into replace-gt-with-lt
yihui Jun 2, 2026
93a5296
Add as_gt to pkgdown reference index
yihui Jun 2, 2026
059a19a
Trim gt-style.css to only what differs from lt.css
yihui Jun 2, 2026
bd3bedf
Simplify as_gt() docs to a deprecation pointer
yihui Jun 2, 2026
7fe511c
Use lt's bundled lt-gt.css theme instead of a local copy
yihui Jun 2, 2026
9bd6d86
Drop lt_gt_style(); gt-like look is now lt's default
yihui Jun 2, 2026
ac67369
Adapt to lt 0.0.9: use lt_group(~ col) instead of lt(row_group = ...)
yihui Jun 4, 2026
7cf148b
Replace as_lt() with lt() S3 methods for design summaries
yihui Jun 5, 2026
4e170e6
Replace remaining as_lt() references with lt::lt() in vignettes and t…
yihui Jun 6, 2026
1d00e2f
remove leftover as_lt
yihui Jun 10, 2026
e72419f
Move gsd_* helper functions from as_gt.R to as_lt.R
yihui Jun 10, 2026
b1306b6
Replace lt_cols_label() with lt_label() in risk-difference vignette
yihui Jun 10, 2026
5c15268
Merge branch 'main' into replace-gt-with-lt
yihui Jun 25, 2026
c0444d4
CRAN release v1.1.9 (#644)
LittleBeannie Jun 29, 2026
caaad55
examples lines wider than 100 characters (#646)
LittleBeannie Jun 30, 2026
f97fe09
Merge branch 'main' into replace-gt-with-lt
yihui Jul 1, 2026
9f368bd
Adapt to CRAN lt: remove Remotes, drop lt:: qualifier, clean up tests
yihui Jul 3, 2026
961c996
Simplify README.Rmd: use lt_html() for direct HTML table output
yihui Jul 3, 2026
907f636
Merge branch 'main' into replace-gt-with-lt
yihui Jul 4, 2026
9d918b4
option was renamed [ci skip]
yihui Jul 9, 2026
6c417d7
use lt_group(sep = TRUE)
yihui Jul 9, 2026
7e9e090
'text' is the first arg
yihui Jul 9, 2026
6d02908
Regenerate README.md with lt 0.2.4 (restore table titles/footnotes)
yihui Aug 19, 2026
e5a426f
Rename R/as_lt.R to R/lt.R; cross-reference lt-methods in as_gt docs
yihui Aug 19, 2026
96228cb
revert changes in archived vignette
yihui Aug 19, 2026
3e9b71f
Merge branch 'main' into replace-gt-with-lt
yihui Aug 19, 2026
1fc258d
Update NEWS.md [ci skip]
yihui Aug 21, 2026
587e863
Merge branch 'main' into replace-gt-with-lt
yihui Aug 21, 2026
6e9b98d
Re-export the lt() generic from gsDesign2
yihui Aug 21, 2026
347ec76
Soften as_gt() deprecation: keep gt output for one release
yihui Aug 21, 2026
48c3eeb
Drop lt:: qualifier in user-facing lt() references
yihui Aug 25, 2026
5960c8b
Merge branch 'main' into replace-gt-with-lt
yihui Aug 25, 2026
8313131
Remove unnecessary library(lt) from vignettes and README
yihui Aug 26, 2026
21a0583
Merge remote-tracking branch 'origin/main' into replace-gt-with-lt
yihui Aug 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Imports:
data.table,
dplyr,
gsDesign,
gt,
lt,
methods,
mvtnorm,
npsurvSS (>= 1.1.0),
Expand All @@ -58,6 +58,7 @@ Suggests:
covr,
ggplot2,
cowplot,
gt,
kableExtra,
knitr,
rmarkdown,
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ S3method(as_gt,gs_design_summary)
S3method(as_gt,simtrial_gs_wlr)
S3method(as_rtf,fixed_design_summary)
S3method(as_rtf,gs_design_summary)
S3method(lt::lt,fixed_design_summary)
S3method(lt::lt,gs_design_summary)
Comment thread
yihui marked this conversation as resolved.
S3method(print,fixed_design)
S3method(print,gs_design)
S3method(summary,fixed_design)
Expand Down Expand Up @@ -50,6 +52,7 @@ export(gs_power_wlr)
export(gs_spending_bound)
export(gs_spending_combo)
export(gs_update_ahr)
export(lt)
export(ppwe)
export(pw_info)
export(s2pwe)
Expand Down Expand Up @@ -95,6 +98,7 @@ importFrom(gsDesign,
gsDesign,
sfLDOF
)
importFrom(lt,lt)
importFrom(stats,
pnorm,
qnorm,
Expand Down
7 changes: 5 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# gsDesign2 1.2.0

## Major changes

- The (heavy) **gt** dependency has been replaced with the lightweight **lt** package, and `lt()` methods are now the recommended way to render design summaries as tables. S3 methods for `lt()` are provided for `fixed_design_summary` and `gs_design_summary` objects, and the `lt()` generic is re-exported so it can be used after loading only gsDesign2. There are no significant visual changes in the HTML tables. `as_gt()` is deprecated but kept for one release: it still returns a `gt_tbl` object (so existing code that customizes the output with **gt** functions keeps working) and now requires the suggested **gt** package to be installed.

## New features

- Harm boundaries are now supported in `gs_design_ahr()`, `gs_power_ahr()`, `gs_design_npe()`, and `gs_power_npe()` through the new `harm`, `hpar`, and `test_harm` arguments. Harm boundaries are available for group sequential designs with futility testing and are not supported for fixed designs (#640, thanks to @LittleBeannie, @yihui, and @keaven).
- Harm boundaries are now included in `summary()`, `gs_bound_summary()`, `as_gt()`, and `as_rtf()` output, with controls for custom labels and bound display (#640, thanks to @LittleBeannie, @jdblischak, @yihui, and @keaven).
- Harm boundaries are now included in `summary()`, `gs_bound_summary()`, `lt()` (and the deprecated `as_gt()`), and `as_rtf()` output, with controls for custom labels and bound display (#640, thanks to @LittleBeannie, @jdblischak, @yihui, and @keaven).

## Documentation

- A new vignette demonstrates how `gs_design_ahr()` reproduces `gsDesign::gsSurv(method = "Schoenfeld")` boundaries across test types, including designs with harm boundaries (#640, thanks to @LittleBeannie, @yihui, and @keaven).


# gsDesign2 1.1.9

## New features
Expand Down
Loading