setupDISCORDANTTest: Setup a test environment based on the DISCORDANT simulated...

View source: R/setupDISCORDANTTest.R

setupDISCORDANTTestR Documentation

Setup a test environment based on the DISCORDANT simulated datasets

Description

Load the DISCORDANT datasets, the corresponding login data object, instanciate a new DSLiteServer hosting these datasets and verify that the required DataSHIELD server-side packages are installed.

Usage

setupDISCORDANTTest(packages = c(), env = parent.frame())

Arguments

packages

DataSHIELD server-side packages which local installation must be verified so that the DSLiteServer can auto-configure itself and can execute the DataSHIELD operations. Default is none.

env

The environment where DataSHIELD objects should be looked for: the DSLiteServer and the DSIConnection objects. Default is the Global environment.

Value

The login data for the datashield.login function.

See Also

Other setup functions: setupCNSIMTest(), setupDASIMTest(), setupDATASETTest(), setupDSLiteServer(), setupSURVIVALTest()

Examples

## Not run: 
logindata <- setupDISCORDANTTest()
conns <- datashield.login(logindata, assign=TRUE)
# do DataSHIELD analysis
datashield.logout(conns)

## End(Not run)

DSLite documentation built on Oct. 7, 2022, 9:05 a.m.