Skip to content

Commit

Permalink
Fix bug introduced by refactoring of do_packing function
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrevoort committed Oct 5, 2020
1 parent 67c1571 commit b4ab738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/print-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ sumtabler2kable <- function(stbl_obj, format = NULL) {
all_names <- names(for_table_dt)
names(for_table_dt)[all_names == 'term'] <- ' '

pack_detail <- get_pack_details(my_dt, stbl_obj)
#pack_detail <- get_pack_details(my_dt, stbl_obj)

kableExtra::kable(for_table_dt,
caption = stbl_obj$title,
align = c('l', rep('c', dim(for_table_dt)[2] - 1L)),
booktabs = stbl_obj$theme$booktabs,
escape = TRUE,
format = format) %>%
do_packing(pack_detail)
do_packing(stbl_obj)
}

#' Process Header Alias
Expand Down

0 comments on commit b4ab738

Please sign in to comment.