cromwellBase: Set and get base URL and port for cromwell server

Description Usage Arguments Value Examples

View source: R/api.R

Description

The Cromwell server presents a RESTFul API. The base URL is of the form: 'http://EXAMPLE.COM:PORT'. The current approach to changing that url is to set an option, 'cromwellBase' to a valid URL (without trailing slash). This URL will then be used throughout the 'cRomwell' package. If no option is set, the server is assumed to be running at 'http://localhost:8000'.

Usage

1
2
3

Arguments

base_url

character(1) specifying the url and port of the cromwell server

Value

A character(1) base url (default http://localhost:8000)

Examples

1
2
3
4
5
6
7
8
9
cromwellBase()

# set a bogus host
setCromwellBase('http://example.com:8111')
cromwellBase()

# and set back to NULL to get the default behavior
setCromwellBase()
cromwellBase()

seandavi/wdlRunR documentation built on Oct. 28, 2021, 12:42 a.m.