ResourceResolver {resourcer}R Documentation

Resource resolver

Description

Resource resolver

Resource resolver

Format

A R6 object of class ResourceResolver

Details

Helper class for building a Client that implements the access to the data or the computation unit.

Methods

Public methods


Method new()

Creates a new ResourceResolver instance.

Usage
ResourceResolver$new()
Returns

A ResourceResolver object.


Method isFor()

Check that the provided object is of class "resource".

Usage
ResourceResolver$isFor(x)
Arguments
x

The resource object to evaluate.

Returns

A logical.


Method newClient()

Stub function to be implemented by subclasses. Makes an object which class inherits from ResourceClient.

Usage
ResourceResolver$newClient(x)
Arguments
x

The resource object to evaluate.

Returns

The ResourceClient object that will access the provided resource.


Method clone()

The objects of this class are cloneable with this method.

Usage
ResourceResolver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


[Package resourcer version 1.4.0 Index]