The goal of myPkg is to explore and test various aspects of R package development, including function implementation, documentation, unit testing, dependency management, and package distribution. It serves as a learning tool for understanding best practices, automation, and the complete lifecycle of an R package.
You can install the development version of myPkg from GitHub with:
# install.packages("devtools")
devtools::install_github("Poduval/myPkg")
This simple example shows how to add two numbers together.
library(myPkg)
add2vars(2, 3)
#> [1] 5