package-development-tutorial

Package Development Tutorial

Motivation If you are using a script more than 3 times it is time to create a function and if you are using a function in 3 different projects it is time to create a package. “I heard it from someone, but I don’t remember who..” Recently I experienced the whole flow to create a new R package with the help of amazing packages like devtools, usethis, pkgdown, and roxygen2. That is why I decided to write about it while I still remember all the necessary steps to make your local functions available for the R community (CRAN and Github). ...

March 17, 2021 · 12 min · 2483 words · Adson Costanzi Filho