Skip to content

rformat

0.2.0Package record

Base R Code Formatter

0packages depend
3.2Kdownloads / year
67.3%test coverage
13/13flavors OK

Overview

About

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

Changes in 0.2.0
  • wrap_long_calls() re-packs an already-wrapped call so its first argument lands on the call line rather than a hanging continuation (#30).
  • Close the gap between a collapsed function signature and a bare single-expression body (#29).
  • rformat_file() and rformat_dir() no longer append a blank line at end of file (#34).
  • Joining else to a preceding closing brace no longer leaves a blank line before a wrapped continuation on the first formatting pass.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK6 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
README· In the repository, left out of the releaseVignettesYes · 3 · staticNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
37 (34 internal)
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.2K
CRAN downloads in the past year
Rank #10,798 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
35430 days
96990 days
3.2K1 year
Compare downloads with other packages →
Also on205 r2u2 autocran

Repository

5Stars
0Forks
2Open issues
0Open PRs
0Releases
77Commits
2Commit identities
77 commits · Last activity 2026-06-24 · +25% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 42026-09-28 · 5
PracticesBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/cornball-ai/rformat on 2026-10-18.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-01-19
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Commits: at least 20 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 1 from outside contributors, first on 2026-03-02
Models named in its commits
  • Claude Opus 4.519 commits · Jan to Feb 2026
  • Claude Opus 4.61 commit · Feb 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing rformat adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 4.1.0
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2026)
Contributor
Copyright holder · added in 0.2.0
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-06-24 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2026-03-09
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-09
Total releases
2 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
102 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rformat")
Hernandez, T., cornball.ai, & Eddelbuettel, D. (2026). rformat: Base R Code Formatter (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rformat

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rformat version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy