Nothing
test_that("multiplication works", {
test_data <- tibble::tribble(
~group, ~score, ~population,
"A", 0.5, 100,
"A", 0.5, 200
)
test_data_aggregated <-
test_data |>
calculate_pop_weighted_score(score, group, population)
expect_equal(test_data_aggregated$Score, 0.5)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.