tests/testthat/test-missing_arg.R

test_that("missing_arg works", {
    lmargs <- formals(lm)
    class(lmargs) # pairlist
    expect_true(missing_arg(lmargs$data))
})

Try the gbutils package in your browser

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

gbutils documentation built on May 28, 2022, 1:13 a.m.