ShellResourceResolver: Shell Resource resolver

ShellResourceResolverR Documentation

Shell Resource resolver

Description

Shell Resource resolver

Shell Resource resolver

Format

A R6 object of class ShellResourceResolver

Details

The resource is a computation unit, accessible by issuing local system commands, i.e. which URL scheme is "sh".

Super class

resourcer::ResourceResolver -> ShellResourceResolver

Methods

Public methods

Inherited methods

Method isFor()

Check that the provided resource is a computation resource accessible by shell commands. The resource URL scheme must be "sh" or "shell".

Usage
ShellResourceResolver$isFor(x)
Arguments
x

The resource object.

Returns

A logical.


Method newClient()

Create a ShellResourceClient instance from the provided resource.

Usage
ShellResourceResolver$newClient(x)
Arguments
x

A valid resource object.

Returns

A ShellResourceClient object.


Method clone()

The objects of this class are cloneable with this method.

Usage
ShellResourceResolver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


resourcer documentation built on April 25, 2023, 5:10 p.m.