Skip to contents

Get the version from the DESCRIPTION file of the master branch in the github repo

Usage

package_github_version(x, file_lines = NULL)

Arguments

x

a single repo/package to check Ex: package_github_version("tidyverse/dplyr")

file_lines

(default = NULL, internal)

Examples

if (FALSE) {
  package_github_version("jrosell/jrrosell")
}