Skip to content

SQLFormatteR

0.0.2

Format SQL Queries

0packages depend
2.3Kdownloads / year
test coverage
3/13checks pass

Overview

About
Maintained by Morgan DurandFirst published 2025-02-042 releasesCRAN page ↗GitHub ↗

A convenient interface for formatting 'SQL' queries directly within 'R'. It acts as a wrapper around the 'sql_format' Rust crate. The package allows you to format 'SQL' code with customizable options, including indentation, case formatting, and more, ensuring your 'SQL' queries are clean, readable, and consistent.

Install

Health

CRAN checks
10NOTE3OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 2.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.30
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-03-28
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 169 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #18,120 · ~6/day · ~192/mo
Daily download trend is not available in this view yet.
22430 days
65190 days
2.3K1 year
Compare downloads with other packages →
Also on373 r2u

Repository

Repository
8Stars
1Forks
0Open issues
0Open PRs
2Releases
11Commits
3Contributors
11 commits · Last activity 2025-04-14 · 0% stars, 30d

Stars over time

2025-05-10 · 62026-07-07 · 8

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/dataupsurge/sqlformatter on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
renv
CRAN release process (1)
cran-comments.md
Automation and maintenance (1)
pre-commit
Show all practices
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 79 (62%)Rd 40 (31%)C 8 (6%)
Code characteristics
Cyclomatic complexity
1.0 median / 1 max
Test cases
1 / 0.30 per code line
System requirements
2 external

Test coverage

Line coverage

Expression

Tests / Examples

Functions

5 1 exported

Complexity

1 avg / 1 max

Call network

5 nodes / 2 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.2Latest
    2025-04-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.0.1
    2025-02-04
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-02-04
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2
Download size
810 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →