Skip to content

Commit

Permalink
R CMD check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdamoses committed May 14, 2024
1 parent 1761ce7 commit 44b7392
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 3 additions & 4 deletions R/reexports.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
#' so you don't have to separately attach those packages to use these functions.
#'
#' @name reexports
#' @inheritParams SummarizedExperiment::colData
#' @inheritParams SingleCellExperiment::reducedDim
#' @inheritParams SpatialExperiment::getImg
#' @inheritParams SummarizedExperiment::`colData<-`
#' @inheritParams SingleCellExperiment::counts
#' @inheritParams SummarizedExperiment::rowData
#' @param object A \code{SingleCellExperiment} object, which includes SFE.
#' @param type Name or numeric index to indicate which \code{reducedDim} to get,
#' such as "PCA". By default the first item in \code{reducedDims}.
NULL

#' @rdname reexports
Expand Down
5 changes: 5 additions & 0 deletions man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tests/testthat/test-formatTxSpots.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ test_that("Error message when Parquet driver is unavailable", {
fn <- XeniumOutput("v2", file_path = file.path(fp, "xenium_test"))
expect_error(fn_tx <- formatTxTech(fn, tech = "Xenium", flip = TRUE, return = FALSE,
file_out = file.path(fn, "tx_spots.parquet")),
"GDAL Parquet driver is required to selectively read genes")
"GDAL Parquet driver is required")
unlink(fn, recursive = TRUE)
})

Expand All @@ -152,6 +152,7 @@ test_that("Add a subset of spots", {
})

test_that("Add subset of spots, multiple files in tx spots output", {
skip_if_not(gdalParquetAvailable())
fp <- tempdir()
dir_use <- CosMXOutput(file_path = file.path(fp, "cosmx_test"))

Expand Down

0 comments on commit 44b7392

Please sign in to comment.