Closed elipousson closed 2 years ago
So my previous attempt had a lot of handling of NULL, NA, etc...
In retrospect, this is a large burden on the function to handle disparate text/NA etc. There simply shouldn't be any NA's passed to this function. As such, I've changed it so that if any rows are missing (ie: ""
) then it will ignore them.
That works well for me! Thanks for jumping on this so quickly.
Thanks creating this helpful package!
I have a similar request to #13 after running into a small issue with
gt_fa_column()
for a table where I needed to show icons in some rows but not others. Here is a reproducible example that shows the error:Created on 2021-11-23 by the reprex package (v2.0.1)
I came up with a modified version of
gt_fa_column
that makes this work although it likely isn't the most elegant solution:Hope this is an addition you can consider!