Package: rformat 0.2.0

Troy Hernandez

rformat: Base R Code Formatter

A minimal R code formatter following base R style conventions. Formats R code with consistent spacing, indentation, and structure.

Authors:Troy Hernandez [aut, cre], Dirk Eddelbuettel [ctb], cornball.ai [cph]

rformat_0.2.0.tar.gz
rformat_0.2.0.zip(r-4.7)rformat_0.2.0.zip(r-4.6)rformat_0.2.0.zip(r-4.5)
rformat_0.2.0.tgz(r-4.6-x86_64)rformat_0.2.0.tgz(r-4.6-arm64)rformat_0.2.0.tgz(r-4.5-x86_64)rformat_0.2.0.tgz(r-4.5-arm64)
rformat_0.2.0.tar.gz(r-4.7-arm64)rformat_0.2.0.tar.gz(r-4.7-x86_64)rformat_0.2.0.tar.gz(r-4.6-arm64)rformat_0.2.0.tar.gz(r-4.6-x86_64)
rformat_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rformat/json (API)

# Install 'rformat' in R:
install.packages('rformat', repos = c('https://cornball-ai.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cornball-ai/rformat/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

5.86 score 4 stars 4 scripts 481 downloads 3 exports 1 dependencies

Last updated from:bbb5ca9721. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK167
linux-devel-x86_64OK158
source / vignettesOK188
linux-release-arm64OK160
linux-release-x86_64OK153
macos-release-arm64OK113
macos-release-x86_64OK197
macos-oldrel-arm64OK92
macos-oldrel-x86_64OK192
windows-develOK147
windows-releaseOK143
windows-oldrelOK109
wasm-releaseOK126

Exports:rformatrformat_dirrformat_file

Dependencies:Rcpp

Formatting Options
title: "Formatting Options" | Default formatting | indent | line_limit | wrap | brace_style | control_braces | expand_if | else_same_line | join_else | function_space | Combining options | Formatting files and directories

Last update: 2026-03-04
Started: 2026-03-03

R Core Style Analysis
title: "R Core Style Analysis" | Method | Results: Base R (15 packages, excluding translations) | Brace style | Indentation | Space after function | Function signatures | Results: Base + Recommended (30 packages) | Control flow bodies | } else placement | Source examples | Key findings | External references | rformat defaults

Last update: 2026-03-04
Started: 2026-01-23

Stress Testing rformat
title: "Stress Testing rformat" | Correctness Invariants | Why These Tests Matter | Test Methodology | Randomized Parameters | Running the Stress Test | Package List | Results | Summary | Bugs Found and Fixed | Tab-expanded column positions | Long string truncation | ELSE search crosses brace boundaries | Braced false body collapsed | Nested call wrap corruption | Comment transparency in bare body detection | Idempotency Design

Last update: 2026-03-03
Started: 2026-02-21