Skip to content

Remove PREXPR() usage (as much as we can) #1708

Closed

Description

@lionel-

It's essential for tidyeval. One way forward might to add an expr + env accessor to base R. That would return a list instead of a quosure (the latter would be harder to get in base R) but we could build quosures from this.

These should be fixable:

  • SEXP tree walker. The memtools package still needs to traverse promises to find memory leaks but this package does not need to be on CRAN. So we can define the promise paths out based on a compilation flag. By default this would be commented out. Would fix vctrs.

Activity

  1. hpages commented on Mar 27, 2026

    @hpages

    The calls to PREXPR() in rlang C code now break compilation of the package with R 4.6 alpha. See #1854 (comment)

    Thanks,
    H.

  2. lionel- commented on Mar 31, 2026

    @lionel-
    MemberAuthor

    Already fixed on main, we'll release soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions