Declare DataSHIELD aggregate and assign methods as defined by the package.

dsadmin.set_package_methods(opal, pkg, type = NULL, profile = NULL)

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

type

Type of the method: "aggregate" or "assign". Default is NULL (=all type of methods).

profile

The DataSHIELD profile name to which operation applies. See also dsadmin.profiles.

Value

TRUE if successfull

Examples

if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
dsadmin.set_package_methods(o, 'dsBase')
opal.logout(o)
}