library(examMarking)
library(testthat)
library(tidyverse)
df <- tibble(
A = c("EX", 2, NA)
)
df <-
df %>%
clean_marks_df("A")
test_that("Cleaning works",
expect_equal(df$A, c(NA, 2, 0))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.