-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Improvements to C code, fix #360 #361
base: main
Are you sure you want to change the base?
Conversation
…d, and evaluate a promise before returning
…s not, check attribute name. if that is not a string, use the pointer of the environment
Hi @ArcadeAntics, sorry for the radio silence I’ve had a few rather busy weeks. Unfortunately we have a problem: there’s official confirmation that We could switch over to using Otherwise the PR looks good — I’ll make a few changes to adapt the code style and remove obsolete comments, but those are minutae. |
Hiya @klmr, Yes, I'd seen that response from Luke last week. Disappointing, but I'll probably continue using it in my own package until they officially revoke its use. I don't think they will anytime soon since it's used in some popular packages like From what I remember, the performance of Also, very recently I saw there are more functions outside of |
This fixes the issue #360 which assumes the first argument must be a symbol. It it is not a symbol, it will also check
attr(e1, "name")
andformat.default(e1)
when making an error message.This also uses
.External2(c_strict_extract
instead of.Call(c_strict_extract
and removes some no longer needed functions.Also, just some miscellaneous fixes to the C code.