knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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
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")
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")) sem$getMajor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.