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.
getWdltoolJar(wdltool_version, destfile = "wdltool.jar")
wdltool_version | string representing the version number |
---|---|
destfile | string The full path to the wdltool jar file location on the local system |
destfile location [invisibly]
A side-effect is that the environment variable, WDLTOOL_JAR
will be set to the path to the downloaded jarfile.
See lots of details at https://github.com/broadinstitute/wdltool.
version = '0.8' tmpfile = file.path(tempdir(),'wdltool.jar') fp = getWdltoolJar(wdltool_version = version, destfile = tmpfile)#>#>fp#> [1] "/var/folders/21/b_rp6qyj1_b1j5cp8qby0tnr0000gn/T//RtmpyDOzOn/wdltool.jar"unlink(fp)