Skip to content

Rename Nse effect to EvalQ - #1372

Open
lionel- wants to merge 1 commit into
oak-nse/12-attach-unquotefrom
oak-nse/13-evalq
Open

Rename Nse effect to EvalQ#1372
lionel- wants to merge 1 commit into
oak-nse/12-attach-unquotefrom
oak-nse/13-evalq

Conversation

@lionel-

@lionel- lionel- commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Progress towards #1338

Mechanical refactor: the Nse effect is renamed to EvalQ.

It occurred to me that evalq() is the quintessential data-masking function:

  • It quotes and eval in one movement
  • It optionally takes a data frame and parent env
evalq(cyl * am, mtcars)
#> [1] 6 6 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 4 4 0 0 0 0 0 4 4 4 8 6 8 4

This is thus the best analogy for data masking effects, even though by default it just evaluates in the current env (the evaluation effect is neutral).

Positron Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

@lionel-
lionel- force-pushed the oak-nse/13-evalq branch from 13f122f to 22514ae Compare July 31, 2026 14:23
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.

1 participant