← Back to home
Comparison · Analytics

cyclocomp vs libr

A side-by-side editorial comparison of cyclocomp and libr — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

cyclocomp vs libr: at a glance

Featurecyclocomplibr
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themesstatic-analysis, code-complexity, linting, r-packagesas-migration, data-processing, performance, r-package
Last editorial update25m ago1h ago
WebsiteVisit →Visit →

What is cyclocomp?

A cyclomatic complexity checker that ships once every couple of years, and lands when it does.

cyclocomp measures cyclomatic complexity of R functions and packages, and is best known as the engine behind lintr's complexity rule. It has three releases in the visible window spread across nearly three years. The current one, 1.1.2, adds a quiet argument to cyclocomp_package_dir(); the two before it, shipped a day apart in 2023, added a large speedup and the package-directory entry point itself.

Read the full cyclocomp trajectory →

What is libr?

The SAS datastep clone for R just got roughly nineteen times faster.

libr gives R users SAS-style data libraries and a datastep() construct, sitting alongside logr, reporter and procs in the r-sassy suite for analysts moving clinical workflows off SAS. Most of its release history is narrow bug-fixing in the libname() readers, particularly the sas7bdat engine. The exception dominates the window: a single 2026 release that rewrote datastep() performance and cut the installed package to a quarter of its former size.

Read the full libr trajectory →

cyclocomp vs libr: editorial side-by-side

C
cyclocomp
ANALYTICS
0.0

A cyclomatic complexity checker that ships once every couple of years, and lands when it does.

◆ Current state

cyclocomp measures cyclomatic complexity of R functions and packages, and is best known as the engine behind lintr's complexity rule. It has three releases in the visible window spread across nearly three years. The current one, 1.1.2, adds a quiet argument to cyclocomp_package_dir(); the two before it, shipped a day apart in 2023, added a large speedup and the package-directory entry point itself.

◆ Where it's heading

This is a small tool that reached feature-complete and now moves only when a downstream consumer needs something. Every change in the window is externally contributed, and each addresses a concrete integration need: a function that works on a local package tree rather than an installed one, complexity results sorted so the worst offenders come first, and output suppression for programmatic callers. The 2023 pair shipped a day apart because the new entry point immediately exposed a performance problem on long linear code.

◆ Prediction

Expect the next change to arrive the same way, as a contributed patch serving a linting or CI workflow rather than as planned development.

L
libr
ANALYTICS
2.5

The SAS datastep clone for R just got roughly nineteen times faster.

◆ Current state

libr gives R users SAS-style data libraries and a datastep() construct, sitting alongside logr, reporter and procs in the r-sassy suite for analysts moving clinical workflows off SAS. Most of its release history is narrow bug-fixing in the libname() readers, particularly the sas7bdat engine. The exception dominates the window: a single 2026 release that rewrote datastep() performance and cut the installed package to a quarter of its former size.

◆ Where it's heading

Two threads run through these entries — steady correctness work on SAS file import, and a much less frequent but far more consequential push on making datastep() viable at real data volumes. The recent fix to empty-variable typing suggests the sas7bdat reader is still where edge cases surface. Having addressed both speed and package size in one release, the obvious remaining pressure is correctness and coverage of SAS semantics rather than throughput.

◆ Prediction

Expect the next releases to continue narrowing sas7bdat import edge cases, with any further datastep() work aimed at supporting more SAS syntax rather than at speed.

Alternatives to cyclocomp and libr

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either cyclocomp or libr.

See all cyclocomp alternatives → · See all libr alternatives →

Recent activity from cyclocomp and libr

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 11d agolibrsas7bdat import no longer types empty variables as logical
  2. 3mo agolibrdatastep() runs 83K rows in 21.6 seconds instead of 6.7 minutes
  3. 5mo agocyclocompcyclocomp_package_dir() gains a quiet argument
  4. 5mo agolibrTest data removed to reduce package size
  5. 2y agolibrlibname() no longer fails on an empty dataset
  6. 2y agolibrlib_write() detects dataset changes again
  7. 2y agolibrlibname() handles file names containing multiple dots
  8. 2y agocyclocompLarge speedup on long linear code
  9. 2y agocyclocompComplexity checks run against a local package tree

Frequently asked questions

What is the difference between cyclocomp and libr?

Both compete on the same themes — r-package — within Analytics. libr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is cyclocomp better than libr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. libr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to cyclocomp?

Top cyclocomp alternatives in Analytics are ranked by recent ship velocity. Browse the "cyclocomp alternatives" section above for the current picks, or visit /alternatives/cyclocomp for the full list with editorial commentary on each.

What are the best alternatives to libr?

Top libr alternatives in Analytics are ranked by recent ship velocity. Browse the "libr alternatives" section above for the current picks, or visit /alternatives/libr for the full list with editorial commentary on each.