tests/testthat/test_select_col.R

test_that(desc="Test column selection",
                    code = {
                    
                      skip_on_oldrel()
                  expect_equal(ncol(select_col(yields, normal)),1)
                  expect_equal(ncol(select_col(yields,height, yield)),2)
                      
                    })

Try the manymodelr package in your browser

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

manymodelr documentation built on Nov. 15, 2021, 5:07 p.m.