Description Usage Arguments Examples
I first saw this function in
a talk by Jenny Bryan at UseR! 2018.
I hear it referred to as "coalesce", most likely named after the SQL
function. I later found it out it was actually included in rlang
, but I
tend to keep my own implementation of the function (and its unit tests)
rather than introduce a dependency.
1 | x %||% y
|
x |
Any R object, possibly |
y |
Any R object, possibly |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.