inst/templates/BuildingBlocks/DS_Connections_Class.R

  # ensure datasources is a list of DSConnection-class
  if(!(is.list(datasources) && all(unlist(lapply(datasources, function(d) {methods::is(d,"DSConnection")}))))){
    stop("The 'datasources' were expected to be a list of DSConnection-class objects", call.=FALSE)
  }
FlorianSchw/DSFunctionCreator documentation built on Sept. 27, 2024, 2:51 p.m.