Skip to content

Commit 49d032c

Browse files
committed
fix path(table) test
1 parent c304027 commit 49d032c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/testthat/test-path.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require(SingleCellExperiment, quietly=TRUE)
12
zs <- file.path("extdata", "blobs.zarr")
23
zs <- system.file(zs, package="spatialdataR")
34
sd <- readSpatialData(zs)
@@ -58,7 +59,7 @@ test_that("path,table", {
5859
expect_is(x, "character")
5960
expect_true(file.info(x)$isdir)
6061

61-
x <- path(SpatialDataPoint())
62+
x <- path(SingleCellExperiment())
6263
expect_length(x, 1)
6364
expect_true(is.na(x))
6465
expect_is(x, "character")

0 commit comments

Comments
 (0)