# Quarto creates `params` when it renders a report with a params: header.
# A slide deck has no such header, so here we create the same list by hand.
params <- list(continent = "Africa", year = 2015)
report_data <- gm |>
filter(continent == params$continent, year == params$year,
!is.na(life_expectancy))
nrow(report_data)[1] 50

