tests/testthat/test-independent-testing-bind_rows2.R

test_that("Name of Variable when using is_named", {
  expect_false(is_named(matrix(1:2, 2)))

  expect_false(is_named(""))

  expect_false(is_named(NA))

  expect_true(is_named(data.frame(x = 1)))
})

Try the metalite package in your browser

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

metalite documentation built on Sept. 11, 2024, 7:18 p.m.