An exploration of NSE and tidyeval
summary
Shows how nonstandard evaluation actually works by building tiny working wrappers: reproduces a dplyr-style pull using base R quote vs substitute plus eval inside the data.frame environment, and a filter wrapper that evaluates quoted calls to return logical rows. Explains R’s laziness via promises (arguments store expression and environment, value slot empty) and contrasts base NSE with tidyeval using quo and bang-bang and saved closures; the example wrappers run successfully.
AI-written summary · about
