A ‘usethis’-esque Package for Base R Versions of ‘tidyverse’ Code
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.2 KiB

---
output: rmarkdown::github_document
---

# freebase

A 'usethis'-like Package for Base Pseudo-equivalents of 'tidyverse' Code

## Description

The 'tidyverse' is awesome, but can take a bit 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 delibrately and with caution.

## What's Inside The Tin

The following functions are implemented:

- `use_infix_helpers`: Use infix-helpers
- `use_keepers`: Use base-ified equivalents of keep/discard/compact
- `use_mappers`: Use base-ified equivalents of 'map'-pers
- `use_safely`: Use base-ified equivalents of "safely"-ifiers

## Installation

```{r eval=FALSE}
devtools::install_github("hrbrmstr/freebase")
```

```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}
options(width=120)
```

## Usage

```{r message=FALSE, warning=FALSE, error=FALSE}
library(freebase)

# current verison
packageVersion("freebase")

```