Skip to content

Commit

Permalink
Fix resolution of column labels when applying footnotes/styles (#440)
Browse files Browse the repository at this point in the history
* Update utils_render_footnotes.R

* Add several testthat tests

* Update test-location_cells.R
  • Loading branch information
rich-iannone authored Dec 19, 2019
1 parent 2753045 commit ca4705f
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils_render_footnotes.R
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ resolve_footnotes_styles <- function(data,
dplyr::filter(locname == "columns_columns") %>%
dplyr::inner_join(
dplyr::tibble(
colnum = seq(nrow(boxh)),
colname = boxh$var
colnum = seq(default_vars),
colname = default_vars
),
by = "colname"
)
Expand Down
Loading

0 comments on commit ca4705f

Please sign in to comment.