context("Mean correct answers per minute")
library(dataprocr)
test_that(
"`meanscore` should work for several tests", {
expect_equal(
meanscore(
jsonlite::read_json("data_dot_connect.json", simplifyVector = TRUE)
), 13
)
expect_equal(is.na(count_correct(data.frame())), TRUE)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.