Skip to content

Commit

Permalink
Merge branch 'main' into 797_tilt_sector_to_tilt_subsector
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolepore authored Jun 25, 2024
2 parents 9dc8e3a + 51a546f commit 3bcb427
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "https://orcid.org/0000-0002-1986-7988")),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->

# 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).
Expand Down
5 changes: 5 additions & 0 deletions tests/testthat/test-example_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
})

0 comments on commit 3bcb427

Please sign in to comment.