downloadBaM: BaM downloader

View source: R/utilities_public.R

downloadBaMR Documentation

BaM downloader

Description

Download BaM executable

Usage

downloadBaM(
  url = NULL,
  os = Sys.info()["sysname"],
  destFolder = file.path(find.package("RBaM"), "bin"),
  quiet = FALSE,
  ...
)

Arguments

url

character string, the url where BaM should be downloaded. When NULL, the url is determined automatically by using GitHub API to determine the latest release and the file corresponding to the OS.

os

character string, operating system, e.g. 'Linux', 'Windows' or 'Darwin'.

destFolder

character string, folder where BaM executable will be downloaded. By default the 'bin' folder in RBaM installation directory.

quiet

logical, if TRUE, suppress status messages.

...

arguments passed to function 'download.file'

Value

nothing - just download the file.

Examples

  try(downloadBaM(destFolder=tempdir()))

BaM-tools/RBaM documentation built on April 11, 2025, 10:01 p.m.