This function compares the local version of the package against what is stored on GitHub to flag whether or not you have the latest version.

oha_check(
  name,
  url = "https://github.com/USAID-OHA-SI",
  suppress_success = FALSE
)

Arguments

name

package name

url

user/organization url, default = "https://github.com/USAID-OHA-SI"

suppress_success

suppress message if up to date, default = FALSE

Value

message if there is a newer package on GH than local

Examples

if (FALSE) {
oha_check("gophr")
oha_check("glamr")
}