Skip to content

Commit 7feabec

Browse files
committed
switch from %>% to |> + 2025 taxonomy update
1 parent 9899e0d commit 7feabec

File tree

132 files changed

+18842
-18347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+18842
-18347
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: auk
22
Title: eBird Data Extraction and Processing in R
3-
Version: 0.8.2
3+
Version: 0.9.0
44
Authors@R:
55
c(person(given = "Matthew",
66
family = "Strimas-Mackey",
@@ -28,7 +28,7 @@ URL: https://cornelllabofornithology.github.io/auk/
2828
BugReports:
2929
https://github.com/CornellLabofOrnithology/auk/issues
3030
Depends:
31-
R (>= 3.5)
31+
R (>= 4.1.0)
3232
Imports:
3333
assertthat,
3434
countrycode (>= 1.0.0),
@@ -53,4 +53,4 @@ VignetteBuilder:
5353
Encoding: UTF-8
5454
LazyData: true
5555
Roxygen: list(markdown = TRUE)
56-
RoxygenNote: 7.3.2
56+
RoxygenNote: 7.3.3

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# auk 0.9.0
2+
3+
- update to align with the 2025 taxonomy update
4+
15
# auk 0.8.2
26

37
- handle changes to project names resulting from release of eBird Projects

R/auk-bbox.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#' @family filter
2323
#' @examples
2424
#' # fliter to locations roughly in the Pacific Northwest
25-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
26-
#' auk_ebd() %>%
25+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
26+
#' auk_ebd() |>
2727
#' auk_bbox(bbox = c(-125, 37, -120, 52))
2828
#'
2929
#' # alternatively, without pipes
@@ -84,8 +84,8 @@ auk_bbox.auk_sampling <- function(x, bbox) {
8484
#' @family filter
8585
#' @examples
8686
#' # fliter to locations roughly in the Pacific Northwest
87-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
88-
#' auk_ebd() %>%
87+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
88+
#' auk_ebd() |>
8989
#' auk_bbox(bbox = c(-125, 37, -120, 52))
9090
#'
9191
#' # alternatively, without pipes

R/auk-bcr.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#' @examples
2626
#' # bcr codes can be looked up in bcr_codes
2727
#' dplyr::filter(bcr_codes, bcr_name == "Central Hardwoods")
28-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
29-
#' auk_ebd() %>%
28+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
29+
#' auk_ebd() |>
3030
#' auk_bcr(bcr = 24)
3131
#'
3232
#' # filter to bcr 24

R/auk-breeding.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#' @export
1414
#' @family filter
1515
#' @examples
16-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
17-
#' auk_ebd() %>%
16+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
17+
#' auk_ebd() |>
1818
#' auk_breeding()
1919
auk_breeding <- function(x) {
2020
UseMethod("auk_breeding")

R/auk-complete.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#' @export
1818
#' @family filter
1919
#' @examples
20-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
21-
#' auk_ebd() %>%
20+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
21+
#' auk_ebd() |>
2222
#' auk_complete()
2323
auk_complete <- function(x) {
2424
UseMethod("auk_complete")

R/auk-country.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#' # country names and ISO2 codes can be mixed
2727
#' # not case sensitive
2828
#' country <- c("CA", "United States", "mexico")
29-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
30-
#' auk_ebd() %>%
29+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
30+
#' auk_ebd() |>
3131
#' auk_country(country)
3232
#'
3333
#' # alternatively, without pipes

R/auk-county.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#' @family filter
3030
#' @examples
3131
#' # choose tompkins county, ny, united states
32-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
33-
#' auk_ebd() %>%
32+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
33+
#' auk_ebd() |>
3434
#' auk_county("US-NY-109")
3535
#'
3636
#' # alternatively, without pipes

R/auk-date.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@
2424
#' @export
2525
#' @family filter
2626
#' @examples
27-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
28-
#' auk_ebd() %>%
27+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
28+
#' auk_ebd() |>
2929
#' auk_date(date = c("2010-01-01", "2010-12-31"))
3030
#'
3131
#' # alternatively, without pipes
3232
#' ebd <- auk_ebd(system.file("extdata/ebd-sample.txt", package = "auk"))
3333
#' auk_date(ebd, date = c("2010-01-01", "2010-12-31"))
3434
#'
3535
#' # the * wildcard can be used in place of year to select dates from all years
36-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
37-
#' auk_ebd() %>%
36+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
37+
#' auk_ebd() |>
3838
#' # may-june records from all years
3939
#' auk_date(date = c("*-05-01", "*-06-30"))
4040
#'
4141
#' # dates can also wrap around the end of the year
42-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
43-
#' auk_ebd() %>%
42+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
43+
#' auk_ebd() |>
4444
#' # dec-jan records from all years
4545
#' auk_date(date = c("*-12-01", "*-01-31"))
4646
auk_date <- function(x, date) {

R/auk-distance.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#' @family filter
2525
#' @examples
2626
#' # only keep checklists that are less than 10 km long
27-
#' system.file("extdata/ebd-sample.txt", package = "auk") %>%
28-
#' auk_ebd() %>%
27+
#' system.file("extdata/ebd-sample.txt", package = "auk") |>
28+
#' auk_ebd() |>
2929
#' auk_distance(distance = c(0, 10))
3030
#'
3131
#' # alternatively, without pipes

0 commit comments

Comments
 (0)