From 816d4fde3c80d4aa535ef4d4bb2f02a8867763f8 Mon Sep 17 00:00:00 2001 From: Rob Baker <robert_baker@nps.gov> Date: Tue, 17 Sep 2024 20:05:09 -0600 Subject: [PATCH 1/3] update set_content_units: correct east and west GPS coordinates. --- R/editEMLfunctions.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/editEMLfunctions.R b/R/editEMLfunctions.R index de3a8cc..39900c0 100644 --- a/R/editEMLfunctions.R +++ b/R/editEMLfunctions.R @@ -216,8 +216,8 @@ set_content_units <- function(eml_object, park_units, poly <- as.data.frame(poly[[1]][1]) N <- max(poly[, 2]) S <- min(poly[, 2]) - W <- max(poly[, 1]) - E <- min(poly[, 1]) + W <- min(poly[, 1]) + E <- max(poly[, 1]) geocov <- EML::eml$geographicCoverage( geographicDescription = paste0("NPS Content Unit Link: ", park_units[i]), From d54ddceff36b1def52fe3d988675e15c490afe30 Mon Sep 17 00:00:00 2001 From: Rob Baker <robert_baker@nps.gov> Date: Tue, 17 Sep 2024 20:18:40 -0600 Subject: [PATCH 2/3] add info about updating set_content_units --- NEWS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index 3c07c62..fb87788 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,6 @@ # EMLeditor v0.1.6 +## 2024-09-17 + * Update `set_content_units` to have correct east and west GPS coordinates for bounding boxes. ## 2024-08-29 * Update readme: add R-CMD-CHECK badge; use pak to install instead of devtools * Update licenseName field on restricted references to read, "Unlicensed (not for public dissemination)" From 33fbbeadf3dc0e027045c357f4567d7082c95a44 Mon Sep 17 00:00:00 2001 From: Rob Baker <robert_baker@nps.gov> Date: Tue, 17 Sep 2024 20:18:56 -0600 Subject: [PATCH 3/3] updated via pkgdown::build_site_github_pages --- docs/news/index.html | 5 +++-- docs/pkgdown.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/news/index.html b/docs/news/index.html index c5bcbbd..004b14b 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -72,8 +72,9 @@ <h1 data-toc-skip>Changelog <small></small></h1> <div class="section level2"> <h2 class="page-header" data-toc-text="0.1.6" id="emleditor-v016">EMLeditor v0.1.6<a class="anchor" aria-label="anchor" href="#emleditor-v016"></a></h2> <div class="section level3"> -<h3 id="id_2024-0-1-6">2024-08-29<a class="anchor" aria-label="anchor" href="#id_2024-0-1-6"></a></h3> -<ul><li>Update readme: add R-CMD-CHECK badge; use pak to install instead of devtools</li> +<h3 id="id_2024-0-1-6">2024-09-17<a class="anchor" aria-label="anchor" href="#id_2024-0-1-6"></a></h3> +<ul><li>Update <code>set_content_units</code> to have correct east and west GPS coordinates for bounding boxes. ## 2024-08-29</li> +<li>Update readme: add R-CMD-CHECK badge; use pak to install instead of devtools</li> <li>Update licenseName field on restricted references to read, “Unlicensed (not for public dissemination)”</li> <li>add github actions: build check</li> <li>add <code>set_project</code> to the EMLscript template (.Rmd) and the github.io documentation pages.</li> diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 62268f9..73105cb 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -7,4 +7,4 @@ articles: a03_Template_edits: a03_Template_edits.html a04_Editing_fixing_eml: a04_Editing_fixing_eml.html a05_advanced_functionality: a05_advanced_functionality.html -last_built: 2024-08-29T22:56Z +last_built: 2024-09-18T02:07Z