knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#<",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

BIZARRO

knitr::include_graphics("bizarro.jpg")

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("acastroaraujo/bizarro")

Example

This is a basic example which shows you how to solve a common problem:

library(bizarro)

bizarro("andrés castro araújo")

## works on lists
example <- list(numeric = 1:10, 
                factor = factor(stringr::fruit[1:5]),
                logical = c(TRUE, FALSE, NA, FALSE, TRUE)
                )

bizarro(example)

## works on data frames (and nested data frames)
bizarro(iris)

## doesn't work on dates
bizarro(as.Date("1990-04-03"))


acastroaraujo/bizarro documentation built on Feb. 9, 2020, 12:20 a.m.