tests/testthat/test_vmro.R

context("VMRO")

cas5k <- census.at.school.5000[1:1000, 1:20]
test_that("Row names are suppressed", {
    o <- capture.output(calcmissing(cas5k))
    expect_length(grep("^[0-9]", o), 0)
})

test_that("Datasets with no missing values produce plot", {
    expect_silent(plotcombn(iris))
})

Try the iNZightMR package in your browser

Any scripts or data that you put into this service are public.

iNZightMR documentation built on May 29, 2024, 5:24 a.m.