backports
backports copied to clipboard
Reimplementations of Functions Introduced Since R-3.0.0
See `?grDevices::palette` (below). These functions are 'base' R 4.* functions, but not part of the `base` package. Should the `backports` package also incorporate these? ---- ### Set or View the...
I saw this package on my system today and it actually reminded me of some code I wrote a while ago. It looks like I wanted to implement something very...
Hi, I wanted to point out that `.traceback()` was introduced in R 3.3.0 (April 2016) and could be added to backports. From the release notes: > New function .traceback() returns...
Hi, Thanks so much for your work on this package. Its a really great idea! Don't know if its possible, but I'd love to use the native pipe `|>` (introduced...
I feel like I'm missing something, but it seems like `str2lang()` should be part of this list here: https://github.com/r-lib/backports/blob/45e46751191bdb72e0e47a9ab12b05c0dd93f210/R/import.R#L64-L76 Am I missing something about how to depend on `str2lang()` in...
Can `.libPaths` be added? From > `.libPaths()` gets a new option `include.site`, allowing to not include the site library. (Thanks to Dario Strbenac's suggestion and Gabe Becker's [PR#18016](https://bugs.r-project.org/show_bug.cgi?id=18016).) Which looks...
This PR adds a backport of `utils::isS3stdGeneric()` for R < 4.1.0. While `utils::isStdGeneric()` was available starting in R 3.4.0, the implementation prior to R 4.1.0 would throw an error when...
#### Reference > `L %||% R` newly in **base** is an expressive idiom for the phrases `if(!is.null(L)) L else R or if(is.null(L)) R else L`.