Skip to content

❗ This is a read-only mirror of the CRAN R package repository. semverutils — Semantic Version Utilities. Homepage: https://github.com/ajwtech/semverutils Report bugs for this package: https://github.com/ajwtech/semverutils/issues

License

Notifications You must be signed in to change notification settings

cran/semverutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

output
github_document

semverutils

Travis build status

The goal of semverutils is to provide a way to create an object for working with Semantic versioning that is compliant with the semantic versioning 2.0.0

Installation

You can install the released version of semverutils from CRAN with:

install.packages("semverutils")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ajwtech/semverutils")

Example

This is a basic example which shows you how to solve a common problem:

library(semverutils)
sem <- semVer$new("3.0.0-alpha.1+build.341193")
sem$higherThanAll(c("2.0.2+build.341193", "0.1.0"))
#> [1] TRUE
sem$getMajor
#> [1] "3"

About

❗ This is a read-only mirror of the CRAN R package repository. semverutils — Semantic Version Utilities. Homepage: https://github.com/ajwtech/semverutils Report bugs for this package: https://github.com/ajwtech/semverutils/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages