This function tokenizes each one of a set of ellipsis parameters, and creates a concatenated output string with spaces. Each input value will be tokenized as follows: if the value is `NA` or `NULL`, a red background is reported with white text; if the value is logical, true values will be green and false value will be red. In all other cases the output and the input match.

pioTkn(..., no_color = FALSE)

Arguments

...

A list of parameters to tokenize and collapse.

no_color

If `TRUE`, avaoids tokenizing and returns just the collapsed output string.

Value

A collapsed output strong with tokenized inputs.

Examples

# Takenize different types of variables cat(pioTkn(4, 5, "banana", TRUE, NULL, FALSE, NA))
#> 4 5 banana TRUE NULL FALSE NA
# assemble without tokenizing cat(pioTkn(4, 5, FALSE, NA, no_color = TRUE))
#> 4 5 FALSE NA