Skip to content

Commit

Permalink
Use include_blank_cells = FALSE for template as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed May 26, 2023
1 parent 74ff240 commit c7c0080
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/xlsx_cutter.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ xlsx_cutter <- function(
marker_open = "{{", marker_close = "}}"
) {

template <- tidyxl::xlsx_cells(template_file, template_sheet)
template <- tidyxl::xlsx_cells(
template_file,
template_sheet,
include_blank_cells = FALSE
)

template <- template[
detect_with_markers(template$character, marker_open, marker_close),
Expand Down

0 comments on commit c7c0080

Please sign in to comment.