diff --git a/DESCRIPTION b/DESCRIPTION index a10d44ad..48516cd8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: tiltIndicator Title: Indicators for the 'TILT' Project -Version: 0.0.0.9226 +Version: 0.0.0.9227 Authors@R: c( person("Mauro", "Lepore", , "maurolepore@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "https://orcid.org/0000-0002-1986-7988")), diff --git a/NEWS.md b/NEWS.md index 48f7201a..850edd05 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,11 @@ +# tiltIndicator 0.0.0.9227 (2024-06-25) + +Developer-oriented changes: + +* `example_products()` gains the column `tilt_subsector()` (@kalashsinghal #803). + # tiltIndicator 0.0.0.9226 (2024-06-24) * Prune needless dependencies (ggplot2 and R/utils-tidy-eval.R) (#798). diff --git a/tests/testthat/test-example_data.R b/tests/testthat/test-example_data.R index a95a70f2..3a6bc4ea 100644 --- a/tests/testthat/test-example_data.R +++ b/tests/testthat/test-example_data.R @@ -91,3 +91,8 @@ test_that("example_inputs() has co2 data of class 'double'", { out <- example_inputs() expect_type(out[[find_co2_footprint(out)]], "double") }) + +test_that("example_products() has column 'tilt_subsector'", { + out <- example_products() + expect_true(hasName(out, "tilt_subsector")) +})