tests/testthat/test_em.R

test_that("TESTING em()", {

    print("em(n = replicate(n = 18, expr = 1),
       epsilon = 10^-8, iteration_cap = 1000) = ")

    out <- em(n = replicate(n = 18, expr = 1),
              epsilon = 10^-8, iteration_cap = 1000)

    print(out)

    expect_equal(length(out), 3)

})

Try the ASAFE package in your browser

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

ASAFE documentation built on Nov. 8, 2020, 10:59 p.m.