inst/testpkg/R/check_read_class.R

#' @export
#' @importFrom testthat expect_identical
check_read_class <- function(test.mat, mode, expected) {
    expect_identical(expected, .Call(paste0("get_class_", mode), test.mat, PACKAGE="beachtest"))
}

Try the beachmat package in your browser

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

beachmat documentation built on Dec. 22, 2020, 2 a.m.