Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"stack imbalance" warning when use stri_encode in 0-row tibble #512

Closed
meeeeeeeeo opened this issue Jun 12, 2024 · 1 comment
Closed

"stack imbalance" warning when use stri_encode in 0-row tibble #512

meeeeeeeeo opened this issue Jun 12, 2024 · 1 comment

Comments

@meeeeeeeeo
Copy link

I find an issue when I use stri_encode in a 0-row tibble, below is the example code

library(dplyr)
library(stringi)

# no warning for length 0 character
x <- character(0)
stri_encode(x)

# warning in 0-row tibble
tibble(x = character(0)) %>% mutate(y = stri_encode(x))

image

@gagolews
Copy link
Owner

Thanks for the report, a fix is on the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants