getWdltoolJar: Utility to fetch the wdltool JAR file

Description Usage Arguments Details Value See Also Examples

View source: R/wdltool.R

Description

This function simply downloads the wdltool JAR file and puts it in the destfile location. The JAR file is picked up from https://github.com/broadinstitute/wdltool/releases.

Usage

1
getWdltoolJar(wdltool_version, destfile = "wdltool.jar")

Arguments

wdltool_version

string representing the version number

destfile

string The full path to the wdltool jar file location on the local system

Details

A side-effect is that the environment variable, WDLTOOL_JAR will be set to the path to the downloaded jarfile.

Value

destfile location [invisibly]

See Also

See lots of details at https://github.com/broadinstitute/wdltool.

Examples

1
2
3
4
5
6
version = '0.8'
tmpfile = file.path(tempdir(),'wdltool.jar')
fp = getWdltoolJar(wdltool_version = version,
                   destfile = tmpfile)
fp
unlink(fp)

seandavi/cRomwell documentation built on Oct. 28, 2021, 12:41 a.m.