spatstat (version 1.63-3)

bugfixes: List Recent Bug Fixes

Description

List all bug fixes in a package, starting from a certain date or version of the package. Fixes are sorted alphabetically by the name of the affected function. The default is to list bug fixes in the latest version of the spatstat package.

Usage

bugfixes(sinceversion = NULL, sincedate = NULL,
           package = "spatstat", show = TRUE)

Arguments

sinceversion

Earliest version of package for which bugs should be listed. The default is the current installed version.

sincedate

Earliest release date of package for which bugs should be listed. A character string or a date-time object.

package

Character string. The name of the package for which bugs are to be listed.

show

Logical value indicating whether to display the bug table on the terminal.

Value

A data frame, belonging to the class "bugtable", which has its own print method.

Details

Bug reports are extracted from the NEWS file of the specified package. Only those after a specified date, or after a specified version of the package, are retained. The bug reports are then sorted alphabetically, so that all bugs affecting a particular function are listed consecutively. Finally the table of bug reports is displayed (if show=TRUE) and returned invisibly.

The argument sinceversion should be a character string like "1.2-3". The default is the current installed version of the package.

The argument sincedate should be a character string like "2015-05-27", or a date-time object.

If sinceversion="all" or sincedate="all" then all recorded bugs will be listed.

If package="spatstat" (the default) then sinceversion="book" and sincedate="book" are interpreted to mean sinceversion="1.42-1", which gives all bugs reported after publication of the book by Baddeley, Rubak and Turner (2015).

Typing bugfixes without parentheses will display a table of all bugs that were fixed in the current installed version of spatstat.

References

Baddeley, A., Rubak, E. and Turner, R. (2015) Spatial Point Patterns: Methodology and Applications with R. Chapman and Hall/CRC Press.

See Also

latest.news, news.

Examples

Run this code
# NOT RUN {
   bugfixes
   ## show all bugs reported after publication of the spatstat book
   if(interactive()) bugfixes(sinceversion="1.42-1")
   ## equivalent to bugfixes(sinceversion="book")
# }

Run the code above in your browser using DataCamp Workspace