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
One could argue that using pkgdown is a way to improve your R package documentation for very little effort. If you only tweak one thing, please introduce grouping in the reference page.
Workflow automation tools for package developers
Maëlle Salmon
For the HTML version of the document we do not want a table of contents as we set toc: no. We specifed a CSS theme called Flatly for our HTML document using theme: "flatly". As of this writing, rmarkdown has a built-in ability to use a range of themes from Bootswatch (https://bootswatch.com/). Alternatively, you can link to a custom CSS fle with the css option. Use html_document to see other options. Notice that we can use no and yes instead of false and true, respectively. We linked to two BibTeX fles with the bibliography option. Using Pandoc syntax, the references will apply to both the PDF and HTML documents. If you want to also enable the creation of a Microsoft Word document, include output: word_document in the header.
Reproducible Research With R and RStudio
Christopher Gandrud
...catch up on these, and many more highlights