This is an example RAP package in R. It has modular code with tests, uses a config and run_pipeline script.
To install the package, run the following code with the root directory as the working directory:
install.packages("devtools")
devtools::install("carsurvey3")
Once installed run the run_pipeline script