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

Argument names to functions should be descriptive and well documented. Arguments should generally have default values. Check arguments against a validity check.

Bioconductor - Package Guidelines

None

Using roxygen2 is generally handy, starting with your no longer needing to edit the NAMESPACE by hand. If your package doesn’t use roxygen2 yet, you could use Rd2roxygen to convert the documentation.

Workflow automation tools for package developers

Maëlle Salmon

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