Skip to content

Fix for rlang 1.2.0#813

Open
lionel- wants to merge 1 commit intoProjectMOSAIC:masterfrom
lionel-:rlang-fix
Open

Fix for rlang 1.2.0#813
lionel- wants to merge 1 commit intoProjectMOSAIC:masterfrom
lionel-:rlang-fix

Conversation

@lionel-
Copy link
Copy Markdown

@lionel- lionel- commented Apr 1, 2026

For forced arguments, enquo() capture values rather than expressions.

S4 dispatch does force arguments, and capturing the expression only used to work by luck, due to the peculiar way R forces arguments during dispatch. The next version of rlang (to be released soon) uses the new C API of R to capture expressions, which causes mosaic to fail checks because of this.

@lionel- lionel- mentioned this pull request Apr 1, 2026
11 tasks
@rpruim
Copy link
Copy Markdown
Contributor

rpruim commented Apr 1, 2026

Thanks @lionel- for the heads up and the fix.

When do you plan to submit to CRAN?

@lionel-
Copy link
Copy Markdown
Author

lionel- commented Apr 1, 2026

Very soon (likely this week) because we're on the deadline due to the C API updates. Sorry for the short heads up 😞

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

Successfully merging this pull request may close these issues.

2 participants