Skip to contents

Get a Bascet binary for the current platform from GitHub releases It will be cached in the provided directory to avoid downloading it each the time the function is called

Usage

getBascetBinary(
  storeAt = NULL,
  tempdir = NULL,
  logLevel = "info",
  forceInstall = FALSE,
  containerMem = "2GB",
  repo = "henriksson-lab/bascet"
)

Arguments

storeAt

Directory to store the binary in. If NULL, uses defaultBascetBinDir

tempdir

Default is to create a directory for temporary files in the current directory. Place it on a fast disk if possible

logLevel

Log level for the Bascet instance (e.g. "info", "debug", "warn")

forceInstall

Force download of the Bascet binary even if a cached binary exists

containerMem

Amount of memory used by the container itself

repo

GitHub repository in OWNER/REPO form

Value

A Bascet instance