Gets the path to the accompanying documentation (doc/) directory of this package.

# S3 method for class 'Package'
getDocPath(this, ...)

Arguments

...

Not used.

Value

Returns a character string.

Author

Henrik Bengtsson

See also

For more information see Package.

Examples

  print(list.files(getDocPath(R.oo)))   # explicit call, or
#> [1] "Bengtsson.pdf"
  print(list.files(R.oo$docPath))       # as a virtual field
#> [1] "Bengtsson.pdf"