tests/testthat/test-proba.R

test_that("testing works", {
    expect_that( 2 + 2
                , equals(4))

    # expect_that({e <- new.env()
    #              e[["computer_number"]] <- 31
    #              ft.start.1314(envir = e)
    #             }
    #             , prints_text("Done"))

})

Try the mcompanion package in your browser

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

mcompanion documentation built on Sept. 22, 2023, 5:12 p.m.