Skip to content

Commit

Permalink
Merge pull request #458 from GSK-Biostatistics/stub-indent
Browse files Browse the repository at this point in the history
Stub indent typo fix
  • Loading branch information
bzkrouse authored Apr 11, 2024
2 parents 469cbb8 + a0fe22a commit fe6960b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tfrmt
Title: Applies Display Metadata to Analysis Results Datasets
Version: 0.1.1
Version: 0.1.1.0999
Authors@R:
c(person(given = "Becca",
family = "Krouse",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# tfrmt development version

Bug fixes
* Fixed issue where table stub indentation does not transfer to all output types

# tfrmt 0.1.1

Bug fixes
Expand Down
3 changes: 2 additions & 1 deletion R/print_to_gt.R
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,8 @@ convert_ws_unicode <- function(gt_table){

locations <- list(cells_body())

if (!is.null(gt_table[["stub_df"]])){
if (sum(c(!is.na(gt_table[["_stub_df"]]$row_id),!is.na(gt_table[["_stub_df"]]$group_id)) > 0)){

locations <- c(locations,
list(cells_stub()))
}
Expand Down

0 comments on commit fe6960b

Please sign in to comment.