When pattern
manages NAs in fmt_icon() |> cols_merge()
, NA
gets repeatedly appended to the value.
#1880
Milestone
pattern
manages NAs in fmt_icon() |> cols_merge()
, NA
gets repeatedly appended to the value.
#1880
Prework
Description
After passing a table to
fmt_icon()
, if I thencols_merge()
with a pattern that takes into account NAs, a very large number ofNA
get appended to cells that don't have NAs.Reproducible example
This works
Without using
fmt_icon()
, this works as expected.This does not work
It also takes a while to run, I assume because of all the NAs that are getting appended.
Inspecting the html output for the first row, there were 49,547
NA
s appended to the cell.Expected result
I expected output similar to the working example, but with the icons instead of the names of the icons.
Session info
The text was updated successfully, but these errors were encountered: