diff --git a/tests/testthat/_snaps/plot_techmix.md b/tests/testthat/_snaps/plot_techmix.md index 57836720..7ed4d944 100644 --- a/tests/testthat/_snaps/plot_techmix.md +++ b/tests/testthat/_snaps/plot_techmix.md @@ -45,7 +45,7 @@ Code invisible(plot_techmix(mydata)) - Message + Message The `technology_share` values are plotted for extreme years. Do you want to plot different years? E.g. filter mydata with:`subset(mydata, year %in% c(2020, 2030))`. diff --git a/tests/testthat/test-market_share.R b/tests/testthat/test-market_share.R index 22d63bc1..c8e656ae 100644 --- a/tests/testthat/test-market_share.R +++ b/tests/testthat/test-market_share.R @@ -40,8 +40,8 @@ test_that("outputs like r2dii.analysis::target_market_share()", { sort_df <- function(data) data[sort(names(data))] # The style `namespace::fun()` highlights this is an integration test - lbk <- r2dii.data::loanbook_demo[1:10, ] - abcd <- r2dii.data::abcd_demo[795:800, ] + lbk <- r2dii.data::loanbook_demo + abcd <- r2dii.data::abcd_demo matched <- r2dii.match::prioritize(r2dii.match::match_name(lbk, abcd)) scenario <- r2dii.data::scenario_demo_2020