accessor for subdirectory.
subdir(x)# S4 method for PkgSource
subdir(x)
subdir(x) <- value
# S4 method for PkgSource
subdir(x) <- 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.
An object associated with a subdirectory, typically a PkgSource
The new subdirectory to associate with the object