subdir {switchr}R Documentation

subdir

Description

accessor for subdirectory.

Usage

subdir(x)

## S4 method for signature 'PkgSource'
subdir(x)

subdir(x) <- value

## S4 replacement method for signature 'PkgSource'
subdir(x) <- value

Arguments

x

An object associated with a subdirectory, typically a PkgSource

value

The new subdirectory to associate with the object

Value

For the getter, the subdirectory within the overall source to find the actual package source code, for the setter, an updated PkgSource object with the new subdirectory set.


[Package switchr version 0.14.8 Index]