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

toyr

toyr is a simple toy package created purely for educational purposes.

Installation

You can install the released version of toyr from CRAN with:

install.packages("toyr")

Example

toyr provides a single function teddy() to return and optionally print a teddy bear ASCII art:

library(toyr)

# Obtain a teddy bear ASCII art string and print it out
cat(teddy(FALSE))


pokrovskyy/toyr documentation built on March 2, 2020, 12:12 a.m.