Learn R Programming

R.oo (version 1.26.0)

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 Package
getDescription(this, replaceNewlines=" ", ...)

Value

A character string.

Arguments

replaceNewlines

If a character string, all newline characters are replaced with this string. Otherwise not.

...

Not used.

Author

Henrik Bengtsson

See Also

For more information see Package.

Examples

Run this code
  pkg <- Package("base")
  print(getDescription(pkg))

Run the code above in your browser using DataLab