has_sgr {fansi} | R Documentation |
This function is deprecated in favor of the has_ctl
. It
checks for CSI SGR and OSC hyperlink sequences.
has_sgr(x, warn = getOption("fansi.warn", TRUE))
x |
a character vector or object that can be coerced to such. |
warn |
TRUE (default) or FALSE, whether to warn when potentially
problematic Control Sequences are encountered. These could cause the
assumptions |
logical of same length as x
; NA values in x
result in NA values
in return