prestevez / toypackage

A Toy Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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")
#> [1] "Hello Alice!"
greetings(c("Alice", "Bob"))
#> [1] "Greetings Alice." "Greetings Bob."

About

A Toy Package

License:Other


Languages

Language:R 100.0%