Nothing
# out1 <- ksnormal(x = mtcars$wt)
# out2 <- suppressWarnings(ks.test(
# x = mtcars$wt, pnorm, mean = mean(mtcars$wt, na.rm = TRUE),
# sd = sd(mtcars$wt, na.rm = TRUE))$p.value
# )
# saveRDS(list(out1=out1, out2=out2),file = 'tests/testthat/ksnormal_out.rda')
test_that("ksnormal() with defaults", {
expected <- readRDS('ksnormal_out.rda')
expect_equal(ksnormal(x = mtcars$wt), expected[[1]])
expect_equal(ksnormal(x = mtcars$wt),expected[[2]])
})
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.