isDefined {dsBaseClient} | R Documentation |
This is an internal function.
isDefined(datasources = NULL, obj = NULL, error.message = TRUE)
datasources |
a list of |
obj |
a character vector, the name of the object(s) to look for. |
error.message |
a Boolean which specifies if the function should stop and return an error message when the input object is not defined in one or more studies or to return a list of TRUE/FALSE indicating in which studies the object is defined |
In DataSHIELD an object included in analysis must be defined (i.e. exists) in all the studies. If not the process should halt.
returns an error message if error.message
argument is set to TRUE (default)
and if the input object is not defined in one or more studies, or a Boolean value if
error.message
argument is set to FALSE.
Demetris Avraam for DataSHIELD Development Team