tests/testthat/helper-matrix.R

expect_matrix <- function(x) {
  expect_true(inherits(x, "matrix"))
}

Try the hardhat package in your browser

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

hardhat documentation built on March 31, 2023, 10:21 p.m.