/straightline

An example respository

Primary LanguageR

Fundamentals of Creating R Package

Author: Riaz Khan

This guides walks through the basic steps of creating of an R package. It includes:

  • Preparing the system for R package building
  • Package creating and package metadata
  • Writing functions
  • Package documentation using roxygen
  • User defined class and S3 methods
  • Adding example dataset to the package
  • Vignette using R Markdown
  • Package testing and release

Pre-requisites:

  • Latest version of R and R Studio
  • Basic knowledge of R programming