knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)
options(width=120)

Travis-CI Build Status Coverage Status CRAN_Status_Badge

forcequotes

Return Random Star Wars Quotes

Description

Now you can use the R 'Force' to get random quotes from your favorite space opera. This is a thin wrapper to the 'Star Wars Quote API' (http://swquotesapi.digitaljedi.dk/index.html).

What's Inside The Tin

The following functions are implemented:

Installation

devtools::install_git("https://gitlab.com/hrbrmstr/forcequotes.git")
# or
devtools::install_github("hrbrmstr/forcequotes")

Usage

library(forcequotes)

# current version
packageVersion("forcequotes")

Basic use

random_quote()

random_quote(faction=0)

random_quote(faction=1)

random_quote(faction=2)

random_quote(faction=3)

random_quote(faction=4)

Console shenanigans

quote_console()

forcequotes Metrics

cloc::cloc_pkg_md()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



hrbrmstr/forcequotes documentation built on May 12, 2019, 5:17 p.m.