R Software Development and Reproducibility is all about creating reliable, maintainable code. This unit covers essential tools like version control, package development, and testing, emphasizing clean coding and documentation for better collaboration. You'll learn to set up development environments, create packages, and conduct reproducible research. The focus is on equipping you with skills to create high-quality, reusable R code and explore debugging techniques to fix errors efficiently.
git add, git commit, git pushgit branch and switch to it with git checkoutdevtools package to create a new R package skeleton with the necessary files and directoriesroxygen2
DESCRIPTION filedevtools functions
devtools::build(), devtools::test(), devtools::check()README file that describes your project, its goals, and how to reproduce the resultsrenv to capture and restore package versions used in your projectbrowser(), debug(), and traceback() to locate and investigate errorstestthat package to verify the correctness of your functions