Nothing
# testM <- import_spss("tests/testthat/helper_spss_missings.sav")
testM <- import_spss("helper_spss_missings.sav")
expected_v1 <- c(1, NA, NA, 2)
test_that("Missing Conversion Single Variable", {
expect_equal(recodeVar(testM$dat$VAR1, testM$labels), expected_v1)
})
test_that("Missing Conversion Data frame", {
expected <- data.frame(VAR1 = expected_v1)
expect_equal(miss2NA(testM)[, 1, drop = F], expected)
})
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.