Internal Error: negative buffer allocations disallowed in FANSI_size_buff_ext.

Error in fansi:::size_buff(c(0L, 127L, -128L)) : 
  Internal Error: negative buffer allocations disallowed in FANSI_size_buff_ext.

Internal Error: max allowed buffer size is INT_MAX + 1. (req: 201 vs lim: 131), in FANSI_size_buff_ext.

Error in fansi:::size_buff(c(0L, 127L, 128L, 64L, 200L, 1024L)) : 
  Internal Error: max allowed buffer size is INT_MAX + 1. (req: 201 vs lim: 131), in FANSI_size_buff_ext.

Internal Error: max allowed buffer size is INT_MAX + 1. (req: 66 vs lim: 65), in FANSI_size_buff_ext.

Error in fansi:::size_buff(c(0L, 32L, 63L, 65L)) : 
  Internal Error: max allowed buffer size is INT_MAX + 1. (req: 66 vs lim: 65), in FANSI_size_buff_ext.

# see src/write.c for details on what these should be and why

Unable to release buffer allocated by FANSI_size_buff_prot_test while in native code. Buffer will be released on return to R.

Warning in fansi:::size_buff_prot_test() :
  Unable to release buffer allocated by FANSI_size_buff_prot_test while in native code. Buffer will be released on return to R.
Warning in fansi:::size_buff_prot_test() :
  Unable to release buffer allocated by FANSI_size_buff_prot_test while in native code. Buffer will be released on return to R.

dat["first", "self"] == dat["smaller 1.0", "self"]

dat["new buff", "prev"] == dat["grow 1.0", "self"]

dat["new buff", "prev"] != dat["new buff", "self"]

dat["smaller 1.1", "self"] == dat["grow 1.0", "self"]

dat["smaller 2.0", "self"] == dat["new buff", "self"]

dat["smaller 2.0", "prev"] == dat["new buff", "prev"]

dat["smaller 2.0", "prev"] == dat["grow 2.0", "prev"]

dat["grow 1.1", "prev"] == dat["grow 2.0", "self"]

dat["grow 2.1", "prev"] == dat["grow 1.1", "self"]

# this is from trying to create result matrix names, so need longer than that
# to test other stuff

Strings longer than INT_MAX not supported (length 8 at index 1).

Error in substr_ctl_internal(x, start = start, stop = stop, type.int = TYPE.INT,  : 
  Strings longer than INT_MAX not supported (length 8 at index 1).