Join 📚 James's Highlights

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

CRAN has a submission checklist, and you could either roll your own or rely on usethis::use_release_issue() creating a GitHub issue with important items. If you don’t develop your package on GitHub you could still have a look at the items for inspiration. The devtools::release() function will ask you whether you ran a spell check.

Workflow automation tools for package developers

Maëlle Salmon

Environment variables, found via Sys.getenv() rather than getOption(), are often used for storing secrets (like GITHUB_PAT for the gh package) or the path to secrets on disk (like TWITTER_PAT for rtweet), or not secrets (e.g. the browser to use for chromote).

Persistent Config and Data for R Packages - R-Hub Blog

None

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