-
Notifications
You must be signed in to change notification settings - Fork 139
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
Non-API calls conundrum #1706
Comments
@DavisVaughan proposed to use ALTREP views for resizing to length. |
Found non-API calls to R:
|
Requests/contribs for R core (WIP):
Speculative:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://rstudio.github.io/r-manuals/r-exts/The-R-API.html#moving-into-c-api-compliance
Non-problematic:
SET_ENVFLAGS()
: Removeenv_unlock()
#1705R_ClosureExpr()
/BODY_EXPR()
: Used inr_fn_body()
, which is only used inzap_srcref()
. Should be fine to call R-levelbody()
instead.Potentially problematic:
SET_ENCLOS()
: Used to mutate parent environment in quosure evaluation inside data masks. It would be helpful if we could continue to use it to avoid a perf hit when evaluating with many groups. See also RemoveSET_ENCLOS()
usage #1707Problematic:
SETLENGTH()
/SET_TRUELENGTH()
: Used in rlang C API for resizing. Would be nice to get these added to the official API. Also used in vctrs and data.table.🔥🔥🔥 :
R_PromiseExpr()
/PREXPR()
: Essential for tidyeval to access promise expressions.See also Remove
PREXPR()
usage (as much as we can) #1708The text was updated successfully, but these errors were encountered: