https://github.com/hadley/lazyeval
Lazy evaluation: an alternative to non-standard evaluation (NSE) for R
https://github.com/hadley/lazyeval
Last synced: 4 months ago
JSON representation
Lazy evaluation: an alternative to non-standard evaluation (NSE) for R
- Host: GitHub
- URL: https://github.com/hadley/lazyeval
- Owner: hadley
- Created: 2014-08-12T15:06:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T12:04:55.000Z (almost 3 years ago)
- Last Synced: 2024-12-13T15:49:30.818Z (4 months ago)
- Language: R
- Homepage:
- Size: 444 KB
- Stars: 131
- Watchers: 10
- Forks: 40
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - hadley/lazyeval - Lazy evaluation: an alternative to non-standard evaluation (NSE) for R (R)
README
# lazyeval
[](https://www.tidyverse.org/lifecycle/#retired)
[](https://travis-ci.org/hadley/lazyeval)
[](http://codecov.io/github/hadley/lazyeval?branch=master)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:
```R
install.packages("lazyeval")
```Install the development version from github with:
```R
# install.packages("devtools")
devtools::install_github("hadley/lazyeval", build_vignettes = TRUE)
```
## Status [](https://www.tidyverse.org/lifecycle/#retired)lazyeval is retired: this means only changes necessary to keep it on CRAN will be made. We recommend using [rlang](https://rlang.r-lib.org/) instead.