Prints the news documentation for the current version of spatstat
or another specified package.
latest.news(package = spatstat.family(), doBrowse=FALSE, major=TRUE)
Null.
Name of package for which the latest news should be printed. A character string, or vector of character strings.
Logical value indicating whether to display the results in a browser window instead of printing them.
Logical value.
If TRUE
(the default), print all information for the
current major version "x.y"
.
If FALSE
, print only the information
for the current minor version "x.y-z"
.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.
This function prints the news documentation about changes in the current installed version of a package.
By default, it prints the latest news about all the sub-packages in the spatstat family.
The function can be called simply by typing its name without parentheses (see the Examples).
If major=FALSE
, only information for the current minor version
"x.y-z"
will be printed. If major=TRUE
(the default),
all information for the current major version "x.y"
will be
printed, encompassing versions "x.y-0"
, "x.y-1"
,
up to "x.y-z"
.
If package
is given, then the function reads the
news for the specified package from its NEWS
file (if it has one)
and prints only the entries that refer to the current version
of the package.
To see the news for all previous versions as well as the current
version, use the R utility news
. See the Examples.
if(interactive()) {
# current news
latest.news
# all news
# news(package="spatstat")
}
Run the code above in your browser using DataLab