1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
|
polyCub 0.9.2 (2025-02-11)
==========================
* Maintenance release, updating cross references in the documentation.
polyCub 0.9.1 (2024-05-21)
==========================
* `vignette("polyCub")` now uses the lightweight `"knitr::knitr"` engine
rather than `"knitr::rmarkdown"`.
polyCub 0.9.0 (2023-10-25)
==========================
* `polyCub.exact.Gauss()` is defunct. It may be resurrected in future
versions, using a reliable replacement for `gpclib::tristrip()`
([#2](https://github.com/bastistician/polyCub/issues/2)).
* Removed remaining references to archived packages
[**gpclib**](https://CRAN.R-project.org/package=gpclib) and
[**rgeos**](https://CRAN.R-project.org/package=rgeos).
* **polyCub** now requires R >= 3.2.0.
polyCub 0.8.1 (2022-11-25)
==========================
* Accommodate CRAN checks with `_R_CHECK_DEPENDS_ONLY_=true`.
polyCub 0.8.0 (2021-01-26)
==========================
* Support `"(MULTI)POLYGON"` geometries from package
[**sf**](https://CRAN.R-project.org/package=sf) as integration domains
([#3](https://github.com/bastistician/polyCub/issues/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).
polyCub 0.7.1 (2019-02-07)
==========================
* Added a *getting started* `vignette("polyCub")`
(suggested by @wrathematics in
[openjournals/joss-reviews#1056](https://github.com/openjournals/joss-reviews/issues/1056)).
* Fix minor compiler warning about missing `types` field in `R_CMethodDef`
(@wrathematics, [#1](https://github.com/bastistician/polyCub/issues/1)).
polyCub 0.7.0 (2018-10-11)
==========================
* Package **polyCub** no longer attaches package
[**sp**](https://CRAN.R-project.org/package=sp)
(moved from "Depends" to "Imports").
* The R code of the examples is no longer installed by default.
Use the `--example` flag of R CMD INSTALL to achieve that.
* The README now exemplifies the four different cubature rules.
polyCub 0.6.1 (2017-10-02)
==========================
* The exported C-function `polyCub_iso()` ...
* did not handle its `stop_on_error` argument correctly
(it would always stop on error).
* now detects non-finite `intrfr` function values and gives an
informative error message (rather than just reporting "abnormal
termination of integration routine").
* Package **polyCub** no longer strictly depends on package
[**spatstat**](https://CRAN.R-project.org/package=spatstat).
It is only required for `polyCub.midpoint()` and for polygon input of
class `"owin"`.
polyCub 0.6.0 (2017-05-24)
==========================
* Added full C-implementation of `polyCub.iso()`, which is exposed as
`"polyCub_iso"` for use by other R packages (notably future versions of
[**surveillance**](https://CRAN.R-project.org/package=surveillance))
via `LinkingTo: polyCub` and `#include <polyCubAPI.h>`.
* Accommodate CRAN checks:
add missing import from **graphics**,
register native routines and disable symbol search
polyCub 0.5-2 (2015-02-25)
==========================
* `polyCub.midpoint()` works directly with input polygons of classes
`"gpc.poly"` and `"SpatialPolygons"`, since package **polyCub** now
registers corresponding `as.owin`-methods.
* `polyCub.exact.Gauss()` did not work if the `tristrip` of the
transformed input polygon contained degenerate triangles (spotted by
Ignacio Quintero).
* Line integration in `polyCub.iso()` could break due to division by zero
if the `center` point was part of the polygon boundary.
polyCub 0.5-1 (2014-10-24)
==========================
* Nodes and weights for `polyCub.SV()` were only cached up to `nGQ=59`,
not 60 as announced in version 0.5-0. Fixed that which also makes
examples truly run without **statmod**.
* In `polyCub.SV()`, the new special setting `f=NULL` means to only
compute nodes and weights.
* Internal changes to the `"gpc.poly"` converters to accommodate
[**spatstat**](https://CRAN.R-project.org/package=spatstat) 1.39-0.
polyCub 0.5-0 (2014-05-07)
==========================
* `polyCub.SV()` gained an argument `engine` to choose among available
implementations. The new and faster C-implementation is the default.
There should not be any numerical differences in the result of the
cubature.
* Package [**statmod**](https://CRAN.R-project.org/package=statmod) is no
longer strictly required (imported). Nodes and weights for
Gauss-Legendre quadrature in `polyCub.SV()` are now cached in the
**polyCub** package up to `nGQ=60`. **statmod**`::gauss.quad` is only
queried for a higher number of nodes.
polyCub 0.4-3 (2014-03-14)
==========================
* `polyCub.iso()` ...
* could not handle additional arguments for `integrate()` given in the
`control` list.
* now applies the `control` arguments also to the numerical
approximation of `intrfr`.
* The `checkintrfr()` function is exported and documented.
* Added a CITATION file.
polyCub 0.4-2 (2014-02-12)
==========================
* `plotpolyf()` ...
* gained an additional argument `print.args`, an optional list of
arguments passed to `print.trellis()` if `use.lattice=TRUE`.
* passed a *data frame* of coordinates to `f` instead of a matrix as
documented.
polyCub 0.4-1 (2013-12-05)
==========================
* This version solely fixes a missing NAMESPACE import to make
package **polyCub** again compatible with older versions of
[**spatstat**](https://CRAN.R-project.org/package=spatstat) (< 1.33-0).
polyCub 0.4-0 (2013-11-19)
==========================
INFRASTRUCTURE
--------------
* [**rgeos**](https://CRAN.R-project.org/package=rgeos) (and therefore the
GEOS library) is no longer strictly required (moved from "Imports" to
"Suggests").
* Added `coerce`-methods from `"Polygons"` (or `"SpatialPolygons"` or
`"Polygon"`) to `"owin"` (`as(..., "owin")`).
* S4-style `coerce`-methods between `"gpc.poly"` and `"Polygons"`/`"owin"`
have been removed from the package (since we no longer import the formal
class `"gpc.poly"` from **gpclib** or **rgeos**). However, there are two
new functions `gpc2owin` and `owin2gpc` similar to those dropped from
[**spatstat**](https://CRAN.R-project.org/package=spatstat) since
version 1.34-0.
* Moved `discpoly()` back to
[**surveillance**](https://CRAN.R-project.org/package=surveillance)
since it is only used there.
* The latter two changes cause
[**surveillance**](https://CRAN.R-project.org/package=surveillance)
version 1.6-0 to be incompatible with this new version of **polyCub**.
Appropriate modifications have been made in the new version 1.7-0 of
**surveillance**.
SPEED-UP `polyCub.SV()`
-----------------------
* thorough optimization of `polyCub.SV()`-related code resulted in about
27% speed-up:
* use `mapply()` instead of a `for`-loop
* avoid `cbind()`
* use `tcrossprod()`
* less object copying
MINOR CHANGES
-------------
* `xylist()` is now exported. It simply extracts polygon coordinates from
various spatial classes (with same unifying intention as `xy.coords()`).
* A `polyregion` of class `"SpatialPolygons"` of length more than 1 now
works in `polyCub`-methods.
* Use aspect ratio of 1 in `plotpolyf()`.
polyCub 0.3-1 (2013-08-22)
==========================
* This version solely fixes a few typos and a technical note from `R CMD
check` in the current R development version (also import packages into
the NAMESPACE which are listed in the "Depends" field).
polyCub 0.3-0 (2013-07-06)
==========================
* New cubature method `polyCub.iso()` specific to isotropic functions
(thanks to Emil Hedevang for the basic idea).
* New function `plotpolyf()` to plot a polygonal domain on top of an image
of a bivariate function.
* The package now depends on R >= 2.15.0 (for `.rowSums()`).
* The package no longer registers `"owin"` as an S4-class since we depend
on the **sp** package which does the job. This avoids a spurious warning
(in `.simpleDuplicateClass()`) upon package installation.
* In `discpoly()`, the argument `r` has been renamed to `radius`. This is
backward compatible by partial argument matching in old code.
polyCub 0.2-0 (2013-05-09)
==========================
* This is the initial version of the **polyCub** package mainly built on
functions previously maintained within the
[**surveillance**](https://CRAN.R-project.org/package=surveillance)
package. These methods for cubature of polygonal domains have been
outsourced into this separate **polyCub** package since they are of
general use for other packages as well.
* The **polyCub** package has more documentation and tests, avoids the use
of [**gpclib**](https://CRAN.R-project.org/package=gpclib) as far as
possible (using [**rgeos**](https://CRAN.R-project.org/package=rgeos)
instead), and solves a compatibility issue with package
[**maptools**](https://CRAN.R-project.org/package=maptools) (use
`setClass("owin")` instead of `setOldClass("owin")`).
|