resource: Retrieve the named resource

View source: R/filesystem-locations.R

resourceR Documentation

Retrieve the named resource

Description

Here a resource is a named location on a filesystem, can be passed to fs::path, etc..., similar to here::here but doesn't do a complex search and allows out-of-tree references.

Usage

resource(name, ..., .root = NULL)

Arguments

name

name of the resource

...

additional relative path elements to resource

.root

optionally the new path root

Value

path to resource, if available


sakrejda/workflow documentation built on Nov. 18, 2024, 3:02 a.m.