diff --git a/NEWS.md b/NEWS.md index 047afae..cbdda95 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# accessibility (development version) +# accessibility 1.6.0 ## New features @@ -6,7 +6,7 @@ (the default), ids that reach no opportunity are kept with accessibility 0, as in `cumulative_cutoff()`. -## Breaking changes +## Major changes - Accessibility functions now treat `NA` opportunity, demand and supply values, and `travel_matrix` ids missing from `land_use_data`, as 0. diff --git a/README.md b/README.md index b801e9b..5e5ee5f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ remotes::install_github("ipea/accessibility") ## Usage This section aims to present a very brief overview of some of the -packages’ features. Fore more details please read the vignettes: +package’s features. For more details please read the vignettes: - [Introduction to **accessibility**: calculating accessibility measures](https://ipea.github.io/accessibility/articles/accessibility.html) @@ -71,7 +71,7 @@ cum_cutoff <- cumulative_cutoff( ) head(cum_cutoff) #> id jobs -#> +#> #> 1: 89a881a5a2bffff 14561 #> 2: 89a881a5a2fffff 29452 #> 3: 89a881a5a67ffff 16647 @@ -148,8 +148,8 @@ poverty ## Related work: -- [r5r](https://github.com/ipea/r5r): Rapid Realistic Routing with R5 - in R +- [r5r](https://github.com/ipea/r5r): Rapid Realistic Routing with R5 in + R - [tracc](https://github.com/jamaps/tracc): Transport accessibility measures in Python - [access](https://access.readthedocs.io/en/latest/): Spatial Access for diff --git a/codemeta.json b/codemeta.json index e581bc0..ce4ca27 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ipea/accessibility", "issueTracker": "https://github.com/ipea/accessibility/issues", "license": "https://spdx.org/licenses/MIT", - "version": "1.5.0.9000", + "version": "1.6.0", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -255,7 +255,7 @@ }, "SystemRequirements": null }, - "fileSize": "3154.045KB", + "fileSize": "3239.651KB", "releaseNotes": "https://github.com/ipea/accessibility/blob/main/NEWS.md", "readme": "https://github.com/ipea/accessibility/blob/main/README.md", "contIntegration": ["https://github.com/ipea/accessibility/actions", "https://app.codecov.io/gh/ipea/accessibility?branch=main"], diff --git a/cran-comments.md b/cran-comments.md index 49bfbc2..c1af515 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,20 +1,24 @@ -── R CMD check results ──────────────────────────────── accessibility 2.0.0 ──── -Duration: 1m 57.1s +## Submission -0 errors ✔ | 0 warnings ✔ | 0 notes ✔ +This is a minor release (1.6.0). It fixes several bugs (notably in +`constrained_accessibility()` with grouped data and multiple decay values, +and integer overflow with large counts) and includes a few documented +breaking changes in edge cases (e.g. `NA` opportunities are now treated as 0 +and integer inputs return doubles). See NEWS.md. +## R CMD check results -## New features +0 errors | 0 warnings | 0 notes -- New function `constrained_accessibility()`, which implements the family of -constrained accessibility measures proposed in \url{https://doi.org/10.1371/journal.pone.0335951} +## Test environments -## Minor changes +- local: Windows 11, R 4.5.1 +- win-builder: R-devel, R-release (TODO) +- GitHub Actions: ubuntu-latest (devel, release, oldrel), macOS-latest + (release), windows-latest (release) (TODO: confirm green) -- The function `fgt_poverty()` has a new argument `poor_below_threshold`. when -set to `TRUE` (default,) the observations below the poverty line are considered -to be poor. This is the correct approach for primal accessibility measures (e.g. -cumulative accessibility). If `FALSE`, then observations above the poverty line -are considered to be poor. This is the correct approach for dual accessibility -measures (e.g. travel time to the closest facility). When set to `FALSE`, FGT 1 -and 2 do not have an upper bound. +## Reverse dependencies + +We checked the one reverse dependency, r5r (Suggests). It only calls +`cumulative_cutoff()` in a vignette chunk that is not evaluated, so it is not +affected by this release.