inst/testpkg/R/check_read_indexed.R

#' @export
#' @export
#' @importFrom testthat expect_identical
check_read_indexed <- function(FUN, ..., mode) {
    check_read_all_col(FUN(...), mode, FUN="get_indexed_all")
    check_read_slice_col(FUN(...), mode, FUN="get_indexed_slice")
    check_read_varslice_col(FUN(...), mode, FUN="get_indexed_varslice")
}

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.