Learn R Programming

R.oo (version 1.21.0)

getChangeLog.Package: Gets the change log of this package

Description

Gets the change log of this package, that is, (by default) the NEWS (then the HISTORY and ChangeLog) file, which should is expected to be located in the root directory of the package, i.e. *getPath().

Usage

# S3 method for Package
getChangeLog(this, filenames=c("NEWS", "HISTORY", "ChangeLog"), newline="\n", ...)

Arguments

filenames

A character vector of (non-case sensitive) filenames to be searched for.

newline

The character string to collapse lines in the file.

...

Not used.

Value

Returns the complete contents of the change log file as a character string. If not found, NULL is returned.

See Also

For more information see Package.