From bb7898562ca24f6477b8be2d5486c5e86acbfabf Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Mon, 8 Jan 2024 08:50:29 -0800 Subject: [PATCH] soilDB 2.8.1 --- NEWS.md | 2 +- README.md | 8 ++++---- inst/CITATION | 4 ++-- tests/testthat/test-fetchSoilGrids.R | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/NEWS.md b/NEWS.md index 0438aa30..20a1263e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# soilDB 2.8.1 (development) +# soilDB 2.8.1 (2024-01-08) - `get_mapunit_from_NASIS()`, `get_lmuaoverlap_from_NASIS()` and `get_legend_from_NASIS()` gain `areatypename` argument used for filtering legends by `areatypename`. - Default results include `"Non-MLRA Soil Survey Area"` and `"MLRA Soil Survey Area"`. Set to `NULL` for no filter. diff --git a/README.md b/README.md index 380a0cf2..2bb20dce 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ Get the development version from GitHub: ## To cite soilDB in publications use: ## - ## Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2023). soilDB: - ## Soil Database Interface. R package version 2.8.0. + ## Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB: + ## Soil Database Interface. R package version 2.8.1. ## ## ## A BibTeX entry for LaTeX users is @@ -41,9 +41,9 @@ Get the development version from GitHub: ## @Manual{, ## title = {soilDB: Soil Database Interface}, ## author = {Dylan Beaudette and Jay Skovlin and Stephen Roecker and Andrew Brown}, - ## note = {R package version 2.8.0}, + ## note = {R package version 2.8.1}, ## url = {https://CRAN.R-project.org/package=soilDB}, - ## year = {2023}, + ## year = {2024}, ## } ## soilDB 2.8.1 diff --git a/inst/CITATION b/inst/CITATION index fb9c8176..0ebbb286 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -4,8 +4,8 @@ bibentry( bibtype = "Manual", title = "soilDB: Soil Database Interface", author = "Dylan Beaudette, Jay Skovlin, Stephen Roecker and Andrew Brown", - note = "R package version 2.8.0", + note = "R package version 2.8.1", url = "https://CRAN.R-project.org/package=soilDB", year = "2024", - textVersion = "Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB: Soil Database Interface. R package version 2.8.0. " + textVersion = "Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB: Soil Database Interface. R package version 2.8.1. " ) diff --git a/tests/testthat/test-fetchSoilGrids.R b/tests/testthat/test-fetchSoilGrids.R index bfe09031..18865f4d 100644 --- a/tests/testthat/test-fetchSoilGrids.R +++ b/tests/testthat/test-fetchSoilGrids.R @@ -24,7 +24,7 @@ test_that("fetchSoilGrids() works as expected", { expect_equal(nrow(res), 2*6) # 5 base columns in SPC: label, id, hzdept, hzdepb, hzID - # plus 10 default variables w/ 5 columns each + # plus 13 default variables w/ 5 columns each expect_equal(ncol(horizons(res)), 5 + (13 * 5)) # data conversion works