-
Notifications
You must be signed in to change notification settings - Fork 11
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
Doesn't seem to work with stringi::stri_trans_general #13
Comments
Thank you for opening the issue, I think this is due to stringi using native routine registration, which is currently not handled by lookup. I will look into this in the near future! |
So turns out stringi uses a macro in it's native routine registration (https://cran.r-project.org/web/packages/highlight/index.html) which breaks the regular expression lookup uses to find the mapping. I would prefer not to special case packages, so for now stringi is not going to work with lookup. |
I have tried to run
lookup(stringi::stri_trans_general)
and the R function is returned correctlyfunction (str, id) { .Call(C_stri_trans_general, str, id) }
but the .Call function source did not appear.The text was updated successfully, but these errors were encountered: