Skip to content

semver

'Semantic Versioning V2.0.0' Parser

v0.2.1 · Jan 27, 2026 · MIT + file LICENSE

Description

Tools and functions for parsing, rendering and operating on semantic version strings. Semantic versioning is a simple set of rules and requirements that dictate how version numbers are assigned and incremented as outlined at <https://semver.org>.

Downloads

CRAN

3K

Last 30 days

2216th

11.6K

Last 90 days

78.3K

Last year

Trend: -28.5% (30d vs prior 30d)

r2u CRAN

54

Last 30 days

545

Last 90 days

2.9K

Last year

Trend: -76.9% (30d vs prior 30d)

autoCRAN

4

Last 7 days

10

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

126

Last 30 days

432

Last 90 days

2.8K

Last year

Trend: -36.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/semver.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,486

Files

44

Compiled share

45.5%

Has compiled src

Yes

Language breakdown

R 456 (18.3%)C/C++/src 1,131 (45.5%)Tests 358 (14.4%)Docs 256 (10.3%)Vignettes 285 (11.5%)

API

Exported functions

5

Internal functions

28

Recent export changes

v0.2.0+3 increment_version, reset_version, set_version
v0.1.0+2 parse_version, render_version

Testing & CI

Has tests

Yes

Test-to-code ratio

0.79

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2017-01-02

Latest release

2026-01-27

Avg cadence

1656 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 1,416 LOCv0.2.0: 2,441 LOCv0.2.1: 2,486 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (4)

Dependency Network

Dependencies Reverse dependencies Rcpp assertthat binman rDataPipeline rdataretriever wdman semver

Version History

4 tracked
new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.2.0 diff Jan 26, 2026
updated 0.2.0 ← 0.1.0 diff Jan 5, 2017
new 0.1.0 Jan 1, 2017