The goal of testpkg2 is to show R packages.
You can install the development version of testpkg2 from GitHub with:
# install.packages("devtools")
devtools::install_github("joshwlambert/testpkg2")
This is a basic example which shows you how to solve a common problem:
library(testpkg2)
## basic example code
foo(5)