Skip to content

Commit

Permalink
update uci 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Jun 15, 2023
1 parent 48340aa commit 3ff5f41
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.1.0
Date: 2023-06-11 10:17:07 UTC
SHA: 2ddc22757dabfb7b31102cf2fdfeb77a3e796754
Version: 0.2.0
Date: 2023-06-14 17:44:55 UTC
SHA: 48340aa0f1372bb8704798115a794e24bda0496f
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: uci
Title: Urban Centrality Index
Version: 0.1.0999
Version: 0.2.0
Authors@R: c(
person("Rafael H. M.", "Pereira", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2125-7465"))
Expand Down
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# uci (development version)

# uci 0.2.0

## New features

- The `uci` function now has a new parameter `dist_type` that allows users to choose whether calculations should be based on `"euclidean"` distances (Default) or `"spatial_link"` distances. Spatial link distances consider Euclidean distances along the links of spatial neighbour links. In the case of areas with a concave shape (like a bay), it is strongly recommended to use `"spatial_link"` distances (even though they are computationally more costly) because simple Euclidean distances can bias UCI estimates in those cases.
- The `uci` function now has a new parameter `parallel`.
- The `uci` function now has a new parameter `parallel` that speeds up calculations for large areas comprised with many polygons.

## Notes

- Minor updates to documentation
- Performance improvments


# uci 0.1.0
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ coverage](https://codecov.io/gh/ipeaGIT/uci/branch/main/graph/badge.svg)](https:
# from CRAN
install.packages('uci')

# development version from GitHub
# or use the development version with latest features
utils::remove.packages('uci')
devtools::install_github("ipeaGIT/uci")
```

Expand Down
12 changes: 6 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## R CMD check results

── R CMD check results ────────────────────────────────────────── uci 0.1.0 ────
Duration: 1m 3s
── R CMD check results ────────────────────────────────────── uci 0.2.0 ────
Duration: 55.2s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

* This is a new release.
* Fixed links and DOI
* Removed set.seed
* Fixed remaining broken link

* Main function `uci` has two additional parameters (see `NEWS.md` file).
* Minor updates to documentation
* Performance improvments
2 changes: 1 addition & 1 deletion tests/tests_rafa/test_rafa.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ tictoc::toc()


# submit to CRAN -----------------
usethis::use_cran_comments('teste 2222, , asdadsad')
# usethis::use_cran_comments('teste 2222, , asdadsad')


devtools::submit_cran()
Expand Down

0 comments on commit 3ff5f41

Please sign in to comment.