⚠️There's a newer version (1.10.3) of this package. Take me there.

styler

Overview

styler formats your code according to the tidyverse style guide (or your custom style guide) so you can direct your attention to the content of your code. It helps to keep the coding style consistent across projects and facilitate collaboration. You can access styler through

  • the RStudio Addin as demonstrated below
  • R functions like style_pkg(), style_file() or style_text()
  • various other tools described in vignette("third-party-integrations")

Installation

You can install the package from CRAN.

install.packages("styler")

Or get the development version from GitHub:

# install.packages("remotes")
remotes::install_github("r-lib/styler")

Documentation

The following online docs are available:

Copy Link

Version

Down Chevron

Install

install.packages('styler')

Monthly Downloads

39,897

Version

1.10.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 29th, 2023

Functions in styler (1.10.2)