vetr:::strbullet(c("hello world\nhow are things today", "once upon a time\nlived a funny duck"))

[1] "- hello world\n  how are things today"   
[2] "- once upon a time\n  lived a funny duck"

vetr:::strbullet("hello\nblah\n", bullet = "  - ", ctd = "    ")

Error in vetr:::strbullet(1:10) : First three arguments must be string

sub("e[+-]?\\K0*", "", vetr:::num_as_chr(num0), perl = TRUE)

# need to sub leading zeros before 'e' due to different display in

sub("e[+-]?\\K0*", "", vetr:::num_as_chr(num1), perl = TRUE)

vetr:::smprintf6("%s %s %s %s %s %s", "a", "bb", "ccc", "dddd", 
    "eeeee", "ffffff")

vetr:::smprintf6("%s %s %s %s %s %s", "a", "bb", "ccc", "dddd", 
    "eeeee", "ffffff", 10L)

Error in vetr:::smprintf6("%s %s %s %s %s %s", "a", "bb", "ccc", "dddd",  : 
  Internal Error: formatting string length longer that `nchar.max` contact maintainer.,

vetr:::smprintf6("%s %s %s %s %s %s", "a", "bb", "ccc", "dddd", 
    "eeeee", "ffffff", 18L)

vetr:::smprintf6("%s %s %s %s", "a", "bb", "ccc", "dddd", "eeeee", 
    "ffffff")

vetr:::strbullet(c("hello world"), maxlen = 5L)

Exceeded `max_len` when trying to bullet `string`

Error in vetr:::strbullet(c("hello world"), maxlen = 5L) : 
  Exceeded `max_len` when trying to bullet `string`

vetr:::strbullet(c("hello world"), maxlen = 12L)

Exceeded `max_len` when trying to bullet `string` (2)

Error in vetr:::strbullet(c("hello world"), maxlen = 12L) : 
  Exceeded `max_len` when trying to bullet `string` (2)

vetr:::strbullet(c("hello world"), maxlen = 14L)

Argument `maxlen` must be at least one smaller than SIZE_MAX.

Error in vetr:::test_strmcpy() : 
  Argument `maxlen` must be at least one smaller than SIZE_MAX.

Argument `maxlen` must be at least one smaller than max possible size_t value.

Error in vetr:::test_strappend() : 
  Argument `maxlen` must be at least one smaller than max possible size_t value.

size_t overflow: you tried to add two size_t numbers that together overflow size_t

Error in vetr:::test_add_szt() : 
  size_t overflow: you tried to add two size_t numbers that together overflow size_t