Add rstudio project
Redocument
Fix typo: testhat -> testtthat