Develop checkout source code library(devtools) library(roxygen2) Compile documentation change working directory to "cmgo" run devtools::document() Install change working directory to "cmgo" parent run devtools::check() run install("cmgo") Distribute push changes to Github