check_version: Version check

View source: R/check_version.R

check_versionR Documentation

Version check

Description

Check if the package version has been updated compared to the a master repo (default is origin/master). This ensures that when branches are merged the package version is bumped.

Usage

check_version(repo = NULL, path = ".")

Arguments

repo

Default origin/master or origin/main. The repo to compare against.

path

Location of the package

Details

Files listed in .Rbuildignore don't count as changes.

Technically we only check for a change in the Version line of the DESCRIPTION file, not an actual version increase.


jumpingrivers/inteRgrate documentation built on May 20, 2022, 11:08 p.m.