From 94927aa1f5ba199e92002a1c32188c3d72910dc4 Mon Sep 17 00:00:00 2001 From: Matt Strimas-Mackey Date: Mon, 21 Aug 2023 09:04:15 -0700 Subject: [PATCH] fixing roxygen2 package-level documentation weirdness --- NEWS.md | 1 + R/auk-package.r | 10 ++- README.md | 2 +- cran-comments.md | 1 + docs/articles/auk.html | 12 +-- docs/index.html | 2 +- docs/news/index.html | 1 + docs/pkgdown.yml | 2 +- docs/reference/auk-package.html | 99 ++++++++++++++++++++++++ docs/reference/auk.html | 85 -------------------- docs/reference/auk_bbox.html | 4 +- docs/reference/auk_bcr.html | 4 +- docs/reference/auk_breeding.html | 2 +- docs/reference/auk_complete.html | 2 +- docs/reference/auk_country.html | 4 +- docs/reference/auk_county.html | 4 +- docs/reference/auk_date.html | 8 +- docs/reference/auk_distance.html | 4 +- docs/reference/auk_duration.html | 4 +- docs/reference/auk_ebd.html | 6 +- docs/reference/auk_extent.html | 4 +- docs/reference/auk_last_edited.html | 2 +- docs/reference/auk_observer.html | 4 +- docs/reference/auk_project.html | 4 +- docs/reference/auk_protocol.html | 4 +- docs/reference/auk_sampling.html | 2 +- docs/reference/auk_species.html | 4 +- docs/reference/auk_state.html | 4 +- docs/reference/auk_time.html | 4 +- docs/reference/auk_year.html | 6 +- docs/reference/filter_repeat_visits.html | 2 +- docs/reference/format_unmarked_occu.html | 24 +++--- docs/sitemap.xml | 2 +- man/auk-package.Rd | 36 +++++++++ man/auk.Rd | 11 --- 35 files changed, 207 insertions(+), 163 deletions(-) create mode 100644 docs/reference/auk-package.html delete mode 100644 docs/reference/auk.html create mode 100644 man/auk-package.Rd delete mode 100644 man/auk.Rd diff --git a/NEWS.md b/NEWS.md index 85ad652..3d75169 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ - retain breeding codes in `auk_zerofill()` - changes to conform with deprecation of `.data$` in tidyselect expressions +- changes to package-level documentation in roxygen2 # auk 0.6.0 diff --git a/R/auk-package.r b/R/auk-package.r index 425bea6..71041be 100644 --- a/R/auk-package.r +++ b/R/auk-package.r @@ -3,9 +3,11 @@ #' Tools for extracting and processing eBird data from the eBird Basic Dataset #' (EBD). #' -#' @name auk -#' @docType package -#' @importFrom stringr str_interp -#' @importFrom rlang .data #' @keywords internal +"_PACKAGE" + +## usethis namespace: start +#' @importFrom rlang .data +#' @importFrom stringr str_interp +## usethis namespace: end NULL diff --git a/README.md b/README.md index d384e42..3ddd0bc 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ eBird Basic Dataset files can be read with `read_ebd()`: #> $ locality_type : chr [1:494] "P" "P" "P" "P" ... #> $ latitude : num [1:494] 20.7 15.8 15.8 15.8 15.7 ... #> $ longitude : num [1:494] -88.6 -93 -93 -92.9 -92.9 ... - #> $ observation_date : Date[1:494], format: "2010-09-05" "2011-08-18" ... + #> $ observation_date : Date[1:494], format: "2010-09-05" "2011-08-18" "2012-02-02" ... #> $ time_observations_started: chr [1:494] "06:30:00" "08:00:00" "09:13:00" "06:40:00" ... #> $ observer_id : chr [1:494] "obsr55719" "obsr313215" "obsr313215" "obsr313215" ... #> $ sampling_event_identifier: chr [1:494] "S6852862" "S14432467" "S39033556" "S38303088" ... diff --git a/cran-comments.md b/cran-comments.md index 0a2f09e..b1d6659 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,6 +2,7 @@ - retain breeding codes in `auk_zerofill()` - changes to conform with deprecation of `.data$` in tidyselect expressions +- changes to package-level documentation in roxygen2 # Test environments diff --git a/docs/articles/auk.html b/docs/articles/auk.html index 65c50a3..2617d98 100644 --- a/docs/articles/auk.html +++ b/docs/articles/auk.html @@ -329,7 +329,7 @@

The auk_ebd object auk_ebd() ebd #> Input -#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/ebd-sample.txt +#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/ebd-sample.txt #> #> Output #> Filters not executed @@ -434,7 +434,7 @@

Defining filters auk_complete() ebd_filters #> Input -#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/ebd-sample.txt +#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/ebd-sample.txt #> #> Output #> Filters not executed @@ -728,8 +728,8 @@

Filteringauk_complete() filters #> Input -#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/zerofill-ex_ebd.txt -#> Sampling events: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/zerofill-ex_sampling.txt +#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/zerofill-ex_ebd.txt +#> Sampling events: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/zerofill-ex_sampling.txt #> #> Output #> Filters not executed @@ -760,8 +760,8 @@

Filtering## file_sampling = "sampling-filtered.txt") ebd_sed_filtered #> Input -#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/zerofill-ex_ebd.txt -#> Sampling events: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/Rtmp7o8rJG/temp_libpathc44a3830802e/auk/extdata/zerofill-ex_sampling.txt +#> EBD: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/zerofill-ex_ebd.txt +#> Sampling events: /private/var/folders/mg/qh40qmqd7376xn8qxd6hm5lwjyy0h2/T/RtmpiRmICh/temp_libpath35e33c916c85/auk/extdata/zerofill-ex_sampling.txt #> #> Output #> EBD: ebd-filtered.txt diff --git a/docs/index.html b/docs/index.html index 65c50b8..163f20f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -289,7 +289,7 @@

Reading#> $ locality_type : chr [1:494] "P" "P" "P" "P" ... #> $ latitude : num [1:494] 20.7 15.8 15.8 15.8 15.7 ... #> $ longitude : num [1:494] -88.6 -93 -93 -92.9 -92.9 ... -#> $ observation_date : Date[1:494], format: "2010-09-05" "2011-08-18" ... +#> $ observation_date : Date[1:494], format: "2010-09-05" "2011-08-18" "2012-02-02" ... #> $ time_observations_started: chr [1:494] "06:30:00" "08:00:00" "09:13:00" "06:40:00" ... #> $ observer_id : chr [1:494] "obsr55719" "obsr313215" "obsr313215" "obsr313215" ... #> $ sampling_event_identifier: chr [1:494] "S6852862" "S14432467" "S39033556" "S38303088" ... diff --git a/docs/news/index.html b/docs/news/index.html index 8139a32..014a964 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -55,6 +55,7 @@