From 7fd6be615c1f571842a89639d98c40ac4f850598 Mon Sep 17 00:00:00 2001
From: David Blodgett <dblodgett@usgs.gov>
Date: Thu, 9 Mar 2023 09:30:42 -0600
Subject: [PATCH] fixes #334

---
 DESCRIPTION                 |  2 +-
 README.Rmd                  |  8 ++++++++
 README.md                   | 15 +++++++++++++++
 tests/testthat/test_index.R |  8 +++-----
 4 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index b38da4af..f5fe6db8 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -28,7 +28,7 @@ Imports: dplyr, rlang, sf, RANN, units, magrittr, jsonlite, httr, xml2, R.utils,
 Suggests: testthat, knitr, rmarkdown, markdown, ggmap, ggplot2, sp, lwgeom, devtools, codetools, data.table, parallel, s2, gifski, leaflet
 License: CC0
 Encoding: UTF-8
-RoxygenNote: 7.2.2
+RoxygenNote: 7.2.3
 VignetteBuilder: knitr
 Config/testthat/parallel: true
 Config/testthat/edition: 3
diff --git a/README.Rmd b/README.Rmd
index d2eab422..aacd66ad 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -19,6 +19,14 @@ knitr::opts_chunk$set(
 
 ## nhdplusTools: Tools for Accessing and Working with the NHDPlus
 
+*New nhdplusTools is coming*
+
+`nhdplusTools` is being split into two packages. A new package [`hydroloom`](https://github.com/DOI-USGS/hydroloom) is now available for testing. It contains all nhdplusTools functionality not related to specific dataset schemas. See [this issue](https://github.com/DOI-USGS/nhdplusTools/issues/307) for details. The transition to `hydroloom` should occur in Fall 2023. In the mean time, you can install the `hydroloom` version of nhdplusTools with:
+
+`remotes::install_github("doi-usgs/nhdplusTools@hydroloom")`
+
+Please submit issues at: https://github.com/DOI-USGS/nhdplusTools/issues
+
 This package is a growing set of tools for manipulation of hydrographic
 data using the NHDPlus data model. There is no specific
 funding or plan to continue development of this package long term
diff --git a/README.md b/README.md
index 1dc1910e..360269ac 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,21 @@ Downloads](https://cranlogs.r-pkg.org/badges/grand-total/nhdplusTools)](https://
 
 ## nhdplusTools: Tools for Accessing and Working with the NHDPlus
 
+*New nhdplusTools is coming*
+
+`nhdplusTools` is being split into two packages. A new package
+[`hydroloom`](https://github.com/DOI-USGS/hydroloom) is now available
+for testing. It contains all nhdplusTools functionality not related to
+specific dataset schemas. See [this
+issue](https://github.com/DOI-USGS/nhdplusTools/issues/307) for details.
+The transition to `hydroloom` should occur in Fall 2023. In the mean
+time, you can install the `hydroloom` version of nhdplusTools with:
+
+`remotes::install_github("doi-usgs/nhdplusTools@hydroloom")`
+
+Please submit issues at:
+<https://github.com/DOI-USGS/nhdplusTools/issues>
+
 This package is a growing set of tools for manipulation of hydrographic
 data using the NHDPlus data model. There is no specific funding or plan
 to continue development of this package long term but ongoing support is
diff --git a/tests/testthat/test_index.R b/tests/testthat/test_index.R
index e12dbe09..8ca4fd87 100644
--- a/tests/testthat/test_index.R
+++ b/tests/testthat/test_index.R
@@ -192,11 +192,9 @@ test_that("get location", {
 
   locations <- get_hydro_location(indexes, sample_flines)
 
-  expect_equal(sf::st_coordinates(locations)[, 1:2],
-               structure(c(-76.8693957911233, -76.9176139910484, -76.8810037244386,
-                           39.4932572053652, 39.4090934721626, 39.3632976055671),
-                         .Dim = 3:2, .Dimnames = list(c("1", "2", "3"),
-                                                      c("X", "Y"))))
+  expect_equal(as.numeric(sf::st_coordinates(locations)[, 1:2]),
+               c(-76.8693957911233, -76.9176139963277, -76.8810037292214, 39.4932572053652,
+                 39.4090934738461, 39.3632976014239))
 
   points <- sf::st_sfc(sf::st_sfc(list(sf::st_point(c(-76.86934, 39.49328))),
                                   crs = 4326))