All Projects → r-lib → Styler

r-lib / Styler

Licence: other
Non-invasive pretty printing of R code

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Styler

Pretty Simple
pretty-printer for Haskell data types that have a Show instance
Stars: ✭ 183 (-60.3%)
Mutual labels:  pretty-print
jsonpp-rs
UNIX style tool to pretty print json
Stars: ✭ 26 (-94.36%)
Mutual labels:  pretty-print
karma-jasmine-diff-reporter
Diff and pretty print for failed tests
Stars: ✭ 31 (-93.28%)
Mutual labels:  pretty-print
Webpack Messages
Beautifully format Webpack messages throughout your bundle lifecycle(s)!
Stars: ✭ 238 (-48.37%)
Mutual labels:  pretty-print
tv
📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.
Stars: ✭ 1,763 (+282.43%)
Mutual labels:  pretty-print
jsonlint
JSON/CJSON/JSON5 parser, syntax & schema validator and pretty-printer with a command-line client, written in pure JavaScript.
Stars: ✭ 21 (-95.44%)
Mutual labels:  pretty-print
Paiges
an implementation of Wadler's a prettier printer
Stars: ✭ 153 (-66.81%)
Mutual labels:  pretty-print
Pterm
✨ #PTerm is a modern go module to beautify console output. Featuring charts, progressbars, tables, trees, and many more 🚀 It's completely configurable and 100% cross-platform compatible.
Stars: ✭ 449 (-2.6%)
Mutual labels:  pretty-print
hgrep
Grep with human-friendly search results
Stars: ✭ 335 (-27.33%)
Mutual labels:  pretty-print
eq
jq, but for EDN.
Stars: ✭ 23 (-95.01%)
Mutual labels:  pretty-print
tabled
An easy to use library for pretty print tables of Rust structs and enums.
Stars: ✭ 1,337 (+190.02%)
Mutual labels:  pretty-print
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (-93.28%)
Mutual labels:  pretty-print
prism-pretty
A Chrome Extension to format/highlight/preview HTML/JS/CSS/Markdown code with Prism.js
Stars: ✭ 91 (-80.26%)
Mutual labels:  pretty-print
Doctorpretty
Wadler's "A prettier printer" embedded pretty-printer DSL for Swift
Stars: ✭ 186 (-59.65%)
Mutual labels:  pretty-print
Tslog
📝 tslog - Expressive TypeScript Logger for Node.js.
Stars: ✭ 321 (-30.37%)
Mutual labels:  pretty-print
Treeify
Pretty-print a javascript object as a tree
Stars: ✭ 174 (-62.26%)
Mutual labels:  pretty-print
json-viewer
Pretty JSON viewer for the terminal
Stars: ✭ 26 (-94.36%)
Mutual labels:  pretty-print
Fipp
Fast Idiomatic Pretty Printer for Clojure
Stars: ✭ 454 (-1.52%)
Mutual labels:  pretty-print
Bnfc
BNF Converter
Stars: ✭ 376 (-18.44%)
Mutual labels:  pretty-print
jsoncat
Json pretty-print parser based on a recursive lexical analyser
Stars: ✭ 26 (-94.36%)
Mutual labels:  pretty-print

styler

R build status Life cycle: stable codecov test coverage CRAN Status

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")

If you don’t use styler interactively (i.e. not from the R prompt or RStudio Addin), make sure you authorize the R package R.cache once to set up a permanent cache. If you use it interactively, you will be asked to grant this permission once. See ?caching for details.

Documentation

The following online docs are available:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].