Styler
Non-invasive pretty printing of R code
Install / Use
/learn @r-lib/StylerREADME
{styler}: Non-Invasive Pretty Printing of R Code
<!-- badges: start --> <!-- badges: end -->Overview <img src="man/figures/logo.png" align="right" width="240" />
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()orstyle_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:
Acknowledgments
Hex sticker font is Gayathri, and the image is taken from icon made by Freepik and available at flaticon.com.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
