tests/testthat/test-co2_intensity_scenario_demo.R

test_that("hasn't changed", {
  value <- round_dbl(co2_intensity_scenario_demo)
  expect_snapshot_value(value, style = "json2")
})

Try the r2dii.data package in your browser

Any scripts or data that you put into this service are public.

r2dii.data documentation built on Nov. 14, 2023, 1:09 a.m.