gl.download.binary {dartRverse}R Documentation

Support function to download binaries from github

Description

This functions supports the download of binaries from github. Those binaries are compiled files that allow to run dartR functions that integrate third party software such as epos (gl.run.epos), NeEstimator (gl.LDNe) or Structure (gl.run.structure). Please be aware this is just to allow for easy install and use of dartR functions seemlessly. We have explicitely asked the authors of the software for permission to include those binaries here. Understandably some authors prefer to direct users to their own websites to download the software. Here a comment is issued by the function how to do so. Please note: **The third party packages are the work of others and please make the effort to cite them accordingly**. You find the citations under the help pages of the respective functions, for example ?gl.run.epos.

Usage

gl.download.binary(
  software = NULL,
  os = NULL,
  branch = "main",
  out.dir = tempdir(),
  verbose = 2
)

Arguments

software

name of the software package to download. Currently supported are: "epos", "NeEstimator", "Stairway2" and "Gone". Please note, depending on the software several files will be downloaded

os

the operating system to download the binary for. Currently supported are: "windows", "mac" and "linux". Please be aware some binaries are not available for all operating systems.

branch

which branch to download from (leave empty for the main branch and there should not be a reason to change that)

out.dir

the path where to save the binary. If left empty the binary will be saved in the temporary directory.

verbose

.If zero, suppresses output messages. Default is zero

Value

functions returns NULL

Examples

gl.download.binary

dartRverse_install()


[Package dartRverse version 1.0.6 Index]