strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = 1:3)

Error in strtrim2_ctl(hello2.0, width = 10, tabs.as.spaces = 1:3) : 
  Argument `tabs.as.spaces` must be TRUE or FALSE.

strtrim2_ctl(hello2.0, width = 10, tab.stops = -(1:3))

Argument `tab.stops` must be numeric, strictly positive, and representable as an integer.

Error in strtrim2_ctl(hello2.0, width = 10, tab.stops = -(1:3)) : 
  Argument `tab.stops` must be numeric, strictly positive, and representable as an integer.

strtrim2_ctl(hello2.0, width = 10, tab.stops = 0)

Error in strtrim2_ctl(hello2.0, width = 10, tab.stops = 0) : 
  Argument `tab.stops` must be numeric, strictly positive, and representable as an integer.

strtrim2_ctl(hello2.0, width = 10, ctl = 0)

Error in strtrim2_ctl(hello2.0, width = 10, ctl = 0) : 
  Argument `ctl` must be character.

strtrim2_ctl(hello2.0, width = 10, ctl = "bananas")

Error in strtrim2_ctl(hello2.0, width = 10, ctl = "bananas") : 
  Argument `ctl` may contain only values in `c("all", "nl", "c0", "sgr", "csi", "esc", "url", "osc")`

Internal Error: unexpected encoding 2 encountered at index 1. Contact maintainer.

Error in fansi:::check_enc(x, 1) : 
  Internal Error: unexpected encoding 2 encountered at index 1. Contact maintainer.

Byte encoded string encountered at index 1. Byte encoded strings are not supported.

Error in fansi:::check_enc(y, 1) : 
  Byte encoded string encountered at index 1. Byte encoded strings are not supported.

Internal Error: max ctl value allowed is 6.

Error in fansi:::ctl_as_int(c(1, 2, 3, 9)) : 
  Internal Error: max ctl value allowed is 6.

Error in fansi:::ctl_as_int(c(2, 3, 9)) : 
  Internal Error: max ctl value allowed is 6.

Argument `x` must be character, is integer.

Error in html_esc(1:10) : Argument `x` must be character, is integer.

[1] "hello"          "wor&lt;ld&gt;s" NA               ""

<PRE class="fansi-output"><CODE>day > night
hello world</CODE></PRE>

[1] "<PRE class=\"fansi-output\"><CODE>day > night\nhello world</CODE></PRE>"

Error in html_code_block(1:10) : 
  Argument `x` must be character, is integer.