Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

notifyIfNewVersion

See if there's a new version of the package on GitHub


Description

checkForNewVersion looks for a tagged version on GitHub and compares with the version number of the currently installed package. notifyIfNewVersion wraps it and displays a message if there is a new version. It is called in .onLoad().

Usage

notifyIfNewVersion(
  package = "crunch",
  github = "Crunch-io/rcrunch",
  installed.version = as.character(packageVersion(package))
)

checkForNewVersion(github, installed.version)

Arguments

package

character package name

github

character "organization/repo" of your package on GitHub

installed.version

character the currently installed version string

Value

checkForNewVersion returns the version string if there is a new version, or NULL. notifyIfNewVersion returns nothing invisibly, called for its side effects.


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.