Skip to content

Lazy evaluation: an alternative to non-standard evaluation (NSE) for R

Notifications You must be signed in to change notification settings

hadley/lazyeval

Repository files navigation

lazyeval

Lifecycle: retired Build Status Coverage Status

The lazyeval package provides tools that make it easier to correctly implement non-standard evaluation (NSE) in R. You use lazy evaluation by requiring the user to "quote" specially evaluated arguments with ~, and then using the lazyeval package to compute with those formulas. It is also possible to eliminate the use of the ~ by converting promises to formulas. This does make programming with such functions a little harder, but it can be worth it in certain situations. See vignette("lazyeval") for more details.

Installation

Install the released version from CRAN with:

install.packages("lazyeval")

Install the development version from github with:

# install.packages("devtools")
devtools::install_github("hadley/lazyeval", build_vignettes = TRUE)

Status Lifecycle: retired

lazyeval is retired: this means only changes necessary to keep it on CRAN will be made. We recommend using rlang instead.

About

Lazy evaluation: an alternative to non-standard evaluation (NSE) for R

Resources

Stars

Watchers

Forks

Packages

No packages published