getDescription.Package.RdGets the description of the package. Not to be mixed up with *getDescriptionFile().
# S3 method for class 'Package'
getDescription(this, replaceNewlines=" ", ...)If a character string, all newline characters
are replaced with this string. Otherwise not.
Not used.
A character string.
For more information see Package.
pkg <- Package("base")
print(getDescription(pkg))
#> [1] "Base R functions."