Join 📚 James's Highlights
A batch of the best highlights from what Jimmy's read, .
* covr::package\_coverage\(\) calculates test coverage for your package. Having a good coverage also means R CMD check is more informative, since it means it’s testing your code. 😉 covr::package\_coverage\(\) can also provide you with the code coverage of the vignettes and examples!
Workflow automation tools for package developers
Maëlle Salmon
...cache.vars If the code chunk you want to cache creates many objects, but you only want to save a few of them, you can use knitr’s cache.vars chunk option. Simply give it a character vector of the objects’ names that you want to save.
Reproducible Research With R and RStudio
Christopher Gandrud
The results of an analysis are shown and discussed in a markup fle that is used to create a PDF document. Researchers often do not explicitly document the relationships between fles that they used in their research. For example, the results of an analysis–a table or fgure–may be copied and pasted into a presentation document. It can be very diÿcult for future researchers to trace the table or fgure back to a particular statistical model and a particular data set without clear documentation. Therefore, it is important to make the links between your fles explicit.
Reproducible Research With R and RStudio
Christopher Gandrud
...catch up on these, and many more highlights