RDSFileResourceResolver: R object file Resource resolver

RDSFileResourceResolverR Documentation

R object file Resource resolver

Description

R object file Resource resolver

R object file Resource resolver

Format

A R6 object of class RDSFileResourceResolver

Details

The resource is a RDS file.

Super class

resourcer::ResourceResolver -> RDSFileResourceResolver

Methods

Public methods

Inherited methods

Method isFor()

Check that the provided resource has a URL that locates a R object file: the resource can be accessed as a file and the resource URL path ends with ".rds" (case ignored), or the resource format is prefixed with "rds:" (a kind of namespace to qualify the R object class).

Usage
RDSFileResourceResolver$isFor(x)
Arguments
x

The resource object to validate.

Returns

A logical.


Method newClient()

Creates a RDSFileResourceClient instance from provided resource.

Usage
RDSFileResourceResolver$newClient(x)
Arguments
x

A valid resource object.

Returns

A RDSFileResourceClient object.


Method clone()

The objects of this class are cloneable with this method.

Usage
RDSFileResourceResolver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


obiba/resourcer documentation built on May 5, 2023, 10:08 a.m.