Check whether a resource already exists in the project (and is visible by the requesting user).

opal.resource_exists(opal, project, resource)

Arguments

opal

Opal object.

project

Name of the project.

resource

Name of the resource in the project.

Value

A logical

Examples

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