Rook
Rook copied to clipboard
Warning: stack imbalance
This is a code snippet that shows how to use the Rook package to find a substring in a raw vector. The function returns a list of indices where the substring was found, or 0 if no match was found. However, when running this code on R 3.6(x64) and R 4.0(arm), a warning message appears:
Rook::Utils$raw.match("abc", charToRaw("foo abc") ,all = FALSE)
Warning: stack imbalance in '.Call', 5 then 6