Description Usage Arguments Details Value Author(s) See Also
This functions reads the XML definitions for default RTest objects.
1 2 | ## S4 method for signature 'RTestCase'
readXMLInputData(object)
|
object |
( |
Input datasets are contained below the XML element 'input-data
' and can be used by any
test packages and functions of the respective test case adapter (i.e. by the functions of the
objects inheriting the class 'RTestCase
'). By default major R data types are predefined
under the node and can be read by this method. Thereby, the type of the imported datasets is
determined by the XML element names. This method runs through all XML items, parses the
item and converts it into the respective R object.
The following element types are supported:
variableXML: variable, XSD: RTestData_variable, RTest: xmlReadData_variable
vectorXML: vector, XSD: RTestData_vector, RTest: xmlReadData_vector
data.frameXML: data.frame, XSD: RTestData_data.frame, RTest: xmlReadData_data.frame
listXML: list, XSD: RTestData_list, RTest: xmlReadData_list
(ANY
) If multiple datasets are defined a list
will be returned
containing all datasets with the same order as in the XML file. Else, if only a single
is defined, the dataset itself will be returned.
Matthias Pfeifer matthias.pfeifer@roche.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.