Join 📚 James's Highlights

A batch of the best highlights from what Jimmy's read, .

devtools::spell\_check\(\), wrapping spelling::spell\_check\_package\(\), runs a spell check on your package and lets you store white-listed words.

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

...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

...catch up on these, and many more highlights