backports
backports copied to clipboard
Add null coalescing operator `%||%` to be introduced with R 4.4.0
Reference
https://cloud.r-project.org/bin/windows/base/NEWS.R-4.4.0rc.html
L %||% Rnewly in base is an expressive idiom for the phrasesif(!is.null(L)) L else R or if(is.null(L)) R else L.
there is also sort_by()