tests/testthat/helper.R

fake_data <- function() {
  data.frame(
    sector = "automotive",
    technology = "electric",
    year = 2020L,
    region = "global",
    scenario_source = "demo_2020",
    metric = "projected",
    production = 1,
    technology_share = 0.2,
    stringsAsFactors = FALSE
  )
}
2DegreesInvesting/r2dii.ggplot documentation built on April 15, 2021, 5:22 a.m.