RELEASE NOTES

spatstat 1.59-0

22 March 2019

We thank Lucia Cobo Sanchez, Tilman Davies, Maximilian Hesselbarth, Kassel Hingee, Mehdi Moradi, Suman Rakshit, Jan Sulavik and Luke Yates for contributions.

OVERVIEW

NEW FUNCTIONS

SIGNIFICANT USER-VISIBLE CHANGES

BUG FIXES

  1. spatialcdf
    The argument ‘weights’ was ignored in some cases.
    Fixed.

  2. ppp
    Points inside the window were erroneously rejected as lying outside
    the window, if the window was a polygon equivalent to a rectangle
    with sides longer than 10^6 units.
    Fixed.

  3. inside.owin
    All results were FALSE if the window was
    a polygon equivalent to a rectangle
    with sides longer than 10^6 units.
    Fixed.

  4. sumouter
    Result was incorrect (all entries were zero)
    if ‘w’ was missing and ‘y’ was given.
    Fixed.

  5. extractbranch.lpp
    Point pattern coordinates were sometimes erroneously set to NA.
    Fixed.

  6. beachcolours, beachcolourmap
    The number of colours was not always equal to ‘ncolours’.
    [Spotted by Tilman Davies.]
    Fixed.

  7. is.subset.owin
    Sometimes gave the wrong answer for polygonal windows
    due to numerical rounding error.
    Fixed.

  8. update.kppm
    Crashed if the updating information was a point pattern
    and the original model call did not include a formula.
    Spotted by Luke Yates.
    Fixed.

  9. incircle, inpoint
    Crashed if the window was extremely thin.
    Fixed.

  10. effectfun
    Crashed in some obscure cases.
    Fixed.

  11. closepairs.pp3
    Crashed if distinct=FALSE and what=”all”.
    Fixed.

  12. update.ippm
    Crashed if the model was fitted using method=”logi”.
    Fixed.

  13. plot.msr
    Crashed sometimes if x was multitype and multiplot=FALSE.
    Fixed.

  14. anova.mppm
    Crashed if applied to a single model, unless the current environment
    was the global environment.
    Fixed.

  15. lurking.mppm
    If ‘covariate’ was a list of images, the code crashed sometimes
    with message ‘Fisher information is singular’.
    Fixed.

  16. im
    Crashed if ‘mat’ was a 1-dimensional table (class ‘table’).
    Fixed.

  17. dirichlet
    Crashed if the pattern was empty or contained only 1 point.
    Fixed.

  18. rjitter
    Crashed if the pattern contained 0 or 1 points and
    the argument ‘radius’ was not specified.
    Fixed.

  19. quantess.owin
    Crashed if Z was a function(x,y).
    Fixed.

  20. quadrat.test
    The p-value was NA if one of the observed counts was zero,
    for the Cressie-Read tests with CR not equal to 1 or -1.
    Fixed.

  21. quadratcount.ppp
    Sometimes issued an incorrect warning that data points were
    outside the tessellation, when ‘tess’ was a tessellation
    represented by a pixel image.
    Fixed.

  22. as.linim.linfun
    Factor-valued functions were converted to integer-valued images.
    Spotted by Suman Rakshit.
    Fixed.

  23. plot.linfun
    Did not display factor-valued functions correctly.
    Spotted by Suman Rakshit.
    Fixed.

  24. dclf.test, mad.test
    Crashed, in rare cases, when applied to an ‘envelope’ object.
    Spotted by Jan Sulavik.
    Fixed.

  25. plot.spatialcdf, plot.ewcdf
    A horizontal line was plotted at height 1, even if the CDF was unnormalised.
    Fixed.

  26. plot.tess
    The names of the tiles were sometimes re-ordered in the legend.
    Fixed.

  27. rThomas, rMatClust, rCauchy, rVarGamma
    If the simulation window was not a rectangle,
    the attribute ‘Lambda’ was a numeric vector, rather than a pixel image.
    Fixed.

Release notes are available in raw text format here.