how can I exclude NA values from being transformed into an icon? With the code below you require to have NA-Icons aswell, which I just colored like the backround to disappear. Is there a better way to just exclude NA to be required to transform? All entries in my column is character-class.
text_transform(
locations = cells_body(columns = 2:ncol(df)),
fn = function(x) {
# loop over the elements of the column
map_chr(x, ~ local_image(
filename = paste0(.x, ".png"),
height = 13))}) %>%