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

toypackage

The goal of toypackage is to provide an example of how to build a bare-bones R package.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("prestevez/toypackage")

Example

This is a basic example of the functions in the package.

library(toypackage)
## basic example code

hello("Alice")
greetings(c("Alice", "Bob"))


prestevez/toypackage documentation built on Jan. 27, 2021, 12:18 a.m.