Learn R Programming

R.oo (version 1.2.7)

getDescription.Package: Gets the description of the package

Description

Gets the description of the package. Not to be mixed up with *getDescriptionFile().

Usage

## S3 method for class 'Package}(this, replaceNewlines=" ", ...)':
getDescriptionundefined

replaceNewlines{If a character string, all newline characters
    are replaced with this string. Otherwise not.}
  ...{Not used.}

A character string.

pkg <- Package("base")
  print(getDescription(pkg))

[object Object]

For more information see Package.
internal
methods

Arguments