checkClass: Checks that an object has the same class in all studies

View source: R/checkClass.R

checkClassR Documentation

Checks that an object has the same class in all studies

Description

This is an internal function.

Usage

checkClass(datasources = NULL, obj = NULL)

Arguments

datasources

a list of DSConnection-class objects obtained after login. If the <datasources> the default set of connections will be used: see datashield.connections_default.

obj

a string character, the name of the object to check for.

Details

In DataSHIELD an object included in analysis must be of the same type in all the collaborating studies. If that is not the case the process is stopped

Value

a message or the class of the object if the object has the same class in all studies.


datashield/dsBaseClient documentation built on Nov. 16, 2024, 2:07 p.m.