latest_release_with_binary: Get the Latest Binary for a repository

Description Usage Arguments Value Examples

View source: R/latest_release_with_binary.R

Description

Parses a remote and gets a URL for a binary release

Usage

1
2
3
4
5
6
7
8
latest_release_with_binary(
  repo,
  pat = NULL,
  verbose = TRUE,
  check_r_version = TRUE,
  force_sha = TRUE,
  ...
)

Arguments

repo

Remote repository name

pat

GitHub Personal Authentication Token (PAT)

verbose

print diagnostic messages

check_r_version

Check if R version is in the name of the tarball

force_sha

Should the SHA be checked when trying to get binaries

...

additional arguments to GET

Value

URL of the binary

Examples

1
2
3
4
5
6
repo = "stnava/ANTsR"
res = latest_release_with_binary(repo, check_r_version = FALSE)
res
repo = "muschellij2/neurobase"
res = latest_release_with_binary(repo, check_r_version = FALSE)
res #'

muschellij2/ghtravis documentation built on April 1, 2021, 5:22 p.m.