mirror of https://git.sr.ht/~hrbrmstr/freebase
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
freebase
A ‘usethis’-esque Package for Base R Versions of ‘tidyverse’ Code
Description
The ‘tidyverse’ is awesome, but can take a bit to compile on systems where there are no pre-built binary packages. Methods are provided which use the facilities of the ‘usethis’ package to snap-in base versions of useful ‘tidyverse’ functions that are mostly equivalent (some are more complete than others). The base R counterpart functions will likely be slower than the ‘tidyverse’ equivalents but using them will decrease ‘Imports’ dependencies.
Use deliberately and with caution.
What’s Inside The Tin
The following functions are implemented:
use_detect
: Use base R versions ofpurrr
detect
functions (these support~{}
formula functions)use_infix_helpers
: Use infix-helpersuse_isers
: Use “is_” tester functionsuse_keepers
: Use base R versions ofpurrr
keep
functions (these support~{}
formula functions)use_mappers
: Use base R versions ofpurrr
map
functions (these support~{}
formula functions)use_safely
: Use base R versions ofpurrr
safely
functionsuse_tidylite()
: Use base R versions oftidyr
functionsuse_walkers
: Use base R versions ofpurrr
walk
functions (these support~{}
formula functions)
Installation
devtools::install_github("hrbrmstr/freebase")
Usage
library(freebase)
# current version
packageVersion("freebase")
## [1] '0.1.0'