Skip to content

polyCub 0.8.0

Choose a tag to compare

@bastistician bastistician released this 28 Jan 18:36
· 67 commits to master since this release
v0.8.0
  • Support "(MULTI)POLYGON" geometries from package sf as integration domains (#3).
    Since these classes do not strictly enforce a particular ring direction, the vertex order is checked when the polygon coordinates are extracted for cubature. Thus, sf polygons are a less efficient choice for polyCub input than polygons from sp or spatstat.geom.
    Note that "POLYGON" objects were already accepted in previous versions of polyCub but this was undocumented and didn't check the vertex order.

  • The suggested package spatstat was split into several packages. Package polyCub now only suggests spatstat.geom (to handle
    "owin" polygons).

  • Package tests no longer rely on (nowadays heavy) testthat.