no | R Documentation |
Pluralization helper functions
no(expr)
qty(expr)
expr |
For |
Other pluralization:
pluralization
,
pluralize()
nfile <- 0; cli_text("Found {no(nfile)} file{?s}.")
#> Found no files.
nfile <- 1; cli_text("Found {no(nfile)} file{?s}.")
#> Found 1 file.
nfile <- 2; cli_text("Found {no(nfile)} file{?s}.")
#> Found 2 files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.