Skip to content

Commit

Permalink
fix(colformat_md): improve robustness by using seq_len instead of seq
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed Mar 31, 2024
1 parent 94dee41 commit 18de336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/colformat.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ colformat_md <- function(x,

# Must evaluate outside add_footnotes due to lazy evaluation of arguments
ft <- flextable::compose(x,
i = seq(nrow(dataset)), j = col, part = part,
i = seq_len(nrow(dataset)), j = col, part = part,
value = as_paragraph_md(
texts,
auto_color_link = auto_color_link,
Expand Down

0 comments on commit 18de336

Please sign in to comment.