Skip to content

lest

1.1.0

Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL'

0packages depend
2.7Kdownloads / year
90.6%test coverage
13/13checks pass

Overview

About
Maintained by Stefan FleckFirst published 2018-08-162 releasesCRAN page ↗

Functions for vectorised conditional recoding of variables. case_when() enables you to vectorise multiple if and else statements (like 'CASE WHEN' in 'SQL'). if_else() is a stricter and more predictable version of ifelse() in 'base' that preserves attributes. These functions are forked from 'dplyr' with all package dependencies removed and behave identically to the originals.

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.31
90.6%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 163 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
83%
Return-value docs
100%
References docs
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #14,709 · ~7/day · ~225/mo
Daily download trend is not available in this view yet.
16430 days
70290 days
2.7K1 year
Compare downloads with other packages →
Also on373 r2u10 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author · added in 1.1.0
Author · added in 1.1.0
Author · added in 1.1.0
Author · added in 1.1.0
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.0Latest
    2019-11-29 · current release · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.0
    2018-08-16
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-08-16
Total releases
2 / 8 yrs
License
MIT + file LICENSE OSI
Download size
15 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lest")
Fleck, S., François, R., Henry, L., Müller, K., & Wickham, H. (2019). lest: Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL' (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.lest

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lest version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy