tests/testthat/test_Sample1.R

context("loading the right file or not")
#source("/Users/quan.nguyen/Documents/Powell_group_MacQuan/AllCodes/scGPS/R")

test_that("Reading sample 1", {
  dat <- day_2_cardio_cell_sample
  expect_that(dim(dat[[1]])[1], equals(5000))
  dat2 <- day_5_cardio_cell_sample
  expect_that(dim(dat2[[1]])[1], equals(5000))
})

Try the scGPS package in your browser

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

scGPS documentation built on Nov. 8, 2020, 5:22 p.m.