tests/testthat/test_d_calc.R

library(apaTables)
context("d value calculation")
test_that("Test positive negative d-values", {
     expect_equal(round(d_value_test1(),7),0.9434933)
     expect_equal(round(d_value_test2(),7),0.9434933)
})

Try the apaTables package in your browser

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

apaTables documentation built on Jan. 13, 2021, 11:22 p.m.