Join 📚 James's Highlights

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

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

R CMD check or devtools::check\(\) will check your package for adherence to some standards (e.g., what folders can there be) and run the tests and examples. It’s a useful command to run even if your package isn’t intended to go on CRAN.

Workflow automation tools for package developers

Maëlle Salmon

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