This repository contains three things:
- slides.pdf (Slides from the talk)
- skeleton (This is an empty project, no code, just boilerplate files)
- example-project (This is the final version of the example project I showed, with documented and tested functions
This are the files in skeleton that you would need to copy over to your package in order to set it up for use with the tools I mentioned:
- DESCRIPTION (obviously, change the name to your name, rename the project if you want, etc.)
***.Rprojproject file (obviously, change the name fromskeleton.Rprojto something appropriate for your projecttestsdirectory: Add your tests totests/tinytest
- Ctrl+Shift+L: Load all
- Ctrl+Shift+D: Documentation
- Ctrl+Shift+X: Run all examples
- Ctrl+Shift+T: Run all tests
More information on the packages mentioned in the slides: