Skip to content

Commit

Permalink
Prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Mar 19, 2023
1 parent fa430b6 commit f3f4d1d
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 24 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ Suggests:
withr
VignetteBuilder:
knitr
Remotes:
tidymodels/yardstick
Config/Needs/website: kableExtra
Config/testthat/edition: 3
Config/testthat/parallel: true
Expand Down
37 changes: 21 additions & 16 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
# waywiser (development version)

* Yardstick metrics will no longer include geometry columns in their returns.
## Breaking Changes

* Removed combination functions -- `ww_global_geary`, `ww_global_moran`,
`ww_local_geary`, `ww_local_moran`, `ww_local_getis_ord`. Use `metric_set()`
to combine functions instead.

* Renamed `ww_local_getis_ord_pvalue_vec()` and variants to
`ww_local_getis_ord_g_pvalue_vec()`; this change allows internal functions to
work properly, and makes it easier for the output to indicate if the p-value
is associated with a g or g* value.

* Yardstick metrics will no longer include geometry columns in their returns.

* The `na_action` argument to `ww_area_of_applicability()` has been replaced by
`na_rm`, with a default value of `FALSE`.

* `na_rm` is now `TRUE` by default for non-spatial-autocorrelation functions.
NA values will cause spatial-autocorrelation functions to fail with an error.

## New Features

* Added functions (primarily `ww_multi_scale()`) and a vignette for multi-scale
assessment of model predictions.

* Rewrote README and moved the old content to a new vignette on assessing the
spatial dependency in model residuals.


* Added functions to calculate metrics from Ji and Gallo (2006) and Willmott
(1981, 1982, 2012): `ww_agreement_coefficient()`,
`ww_systematic_agreement_coefficient()`,
Expand All @@ -28,19 +35,17 @@
from Willmott (2012); other implementations (sometimes called "d1r") seem to
use an unbounded variant that I haven't found a reference to support.

* Added a dependency on FNN.

* Minimum versions for dplyr and yardstick have been bumped to 1.1.0, due to
breaking changes in each.

* Changed a call in `ww_area_of_applicability()` to use FNN for nearest
neighbors, rather than fields. This sped up prediction by a _lot_.

## Bug Fixes

* Rewrote README and moved the old content to a new vignette on assessing the
spatial dependency in model residuals.

* The `na_action` argument to `ww_area_of_applicability()` has been replaced by
`na_rm`, with a default value of `FALSE`.

* `na_rm` is now `TRUE` by default for non-spatial-autocorrelation functions.
NA values will cause spatial-autocorrelation functions to fail with an error.
* Added a dependency on FNN.

* Minimum version for dplyr has been bumped to 1.1.0

# waywiser 0.2.0

Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is the second CRAN release of waywiser, adding the area of applicability
methods.
This is the third CRAN release of waywiser, adding methods for multi-scale
assessment and a number of improvements following rOpenSci review.

## R CMD check results

Expand Down
2 changes: 1 addition & 1 deletion man/predict.ww_area_of_applicability.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/print.ww_area_of_applicability.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/waywiser-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ww_area_of_applicability.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f3f4d1d

Please sign in to comment.