Skip to content

Migrate from the semver package to the smvr package? #207

@eitsupi

Description

@eitsupi

A while ago I released the smvr package1, which defines SemVer on top of the vctrs package with pure R code.

rDataPipeline depends on the semver package2, which hasn't been updated in years and may be removed from CRAN, so it might be worth replacing the semver package with the smvr package.

To be fair, the semver package is written in C++, so it is faster than the smvr package in terms of parsing speed.
On the other hand, the smvr class vectors defined in the smvr package have the advantage of being able to be treated as regular R vectors, making them faster for operations such as sorting.
See eitsupi/smvr#14 for more details.

Footnotes

  1. https://cran.r-project.org/package=smvr

  2. https://cran.r-project.org/package=semver tagged as "issues need fixing before 2025-12-18" at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions