R Source Code Formatter
Overview
The R Formatter formats R source code. It is very much based on formatR, but tries to improve it by heuristics. For example, spaces can be forced around the division operator "/".
- Multiple operators with overlapping operands are now properly spaced (#1).
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Repository github.com/evolutics/rformatter is linked, but repository-practices checks have not run for it yet.
Dependencies
Installing RFormatter adds 1 package (0 with compiled code, 94 KB of source tarballs). Heaviest: formatR 94 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.1Latest
- RR 3.3.0 released · 2016-05-03
- 0.1.02015-10-06
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-10-06
- Total releases
- 2 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2.2
- Download size
- 5.5 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RFormatter")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.