Learn R Programming

DSLite (version 1.4.0)

setupSURVIVALTest: Setup a test environment based on the SURVIVAL (EXPAND_WITH_MISSING) simulated datasets

Description

Load the SURVIVAL (EXPAND_WITH_MISSING) 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

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

Value

The login data for the datashield.login function.

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.

See Also

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

Examples

Run this code
if (FALSE) {
logindata <- setupSURVIVALTest()
conns <- datashield.login(logindata, assign=TRUE)
# do DataSHIELD analysis
datashield.logout(conns)
}

Run the code above in your browser using DataLab