Press "Enter" to skip to content

Style Enforcement in R

Andrew Collier does some linting and styling:

In the previous post we looked at how to apply a linter and styler to a Python Project. Now we’re going to do the same for an R project. We’ll use the {precommit} R package to make the setup a breeze.

Read on to see how the combination of precommit, lintr, and styler can track deviations from expected development style. H/T R-Bloggers.