Styling 😎#
Each language in the Apache Arrow project follows its own style guides.
In this section we will provide links to the existing documentation to make it easier for you to find the relevant information about linters and styling of the code.
For the R package you can use air to format the code, and
{lintr}
to check if the code follows the
tidyverse style.
The instructions on how to use air and {lintr}
can be found in the
Styling and Linting section of the Common developer workflow tasks.
Pre-commit#
It is useful to set up pre-commit, a multi-language package manager for pre-commit hooks. It will check your code and will stop the commit process, described in the following section, if there are any errors.