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

Doesn't seem to work with stringi::stri_trans_general #13

Open
fernandovmacedo opened this issue May 26, 2017 · 2 comments
Open

Doesn't seem to work with stringi::stri_trans_general #13

fernandovmacedo opened this issue May 26, 2017 · 2 comments

Comments

@fernandovmacedo
Copy link

I have tried to run lookup(stringi::stri_trans_general) and the R function is returned correctly
function (str, id) { .Call(C_stri_trans_general, str, id) } but the .Call function source did not appear.

@jimhester
Copy link
Owner

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!

@jimhester
Copy link
Owner

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.

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