R/setupSURVIVALTest.R
setupSURVIVALTest.Rd
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.
setupSURVIVALTest(packages = c(), env = parent.frame())
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.
The environment where DataSHIELD objects should be looked for: the DSLiteServer and the DSIConnection objects. Default is the Global environment.
The login data for the datashield.login function.
Other setup functions:
setupCNSIMTest()
,
setupDASIMTest()
,
setupDATASETTest()
,
setupDISCORDANTTest()
,
setupDSLiteServer()
{
logindata <- setupSURVIVALTest()
conns <- datashield.login(logindata, assign=TRUE)
# do DataSHIELD analysis
datashield.logout(conns)
}
#>
#> Logging into the collaborating servers
#>
#> No variables have been specified.
#> All the variables in the table
#> (the whole dataset) will be assigned to R!
#>
#> Assigning table data...