Learn R Programming

switchr (version 0.14.8)

subdir: subdir

Description

accessor for subdirectory.

Usage

subdir(x)

# S4 method for PkgSource subdir(x)

subdir(x) <- value

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

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.

Arguments

x

An object associated with a subdirectory, typically a PkgSource

value

The new subdirectory to associate with the object