dsHasResource-OpalConnection-method: Verify Opal resource

dsHasResource,OpalConnection-methodR Documentation

Verify Opal resource

Description

Verify Opal resource exist and can be accessible for performing DataSHIELD operations.

Usage

## S4 method for signature 'OpalConnection'
dsHasResource(conn, resource)

Arguments

conn

OpalConnection-class class object.

resource

The fully qualified name of the resource.

Value

TRUE if the resource exists.

Examples

## Not run: 
con <- dbConnect(DSOpal::Opal(), "server1",
  "username", "password", "https://opal.example.org")
dsHasResource(con, "test.CNSIM")
dsDisconnect(con)

## End(Not run)


datashield/DSOpal documentation built on Oct. 11, 2022, 2:49 a.m.