Skip to content

Commit

Permalink
Fixes to pass CHECK.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Nov 28, 2023
1 parent 50b11b6 commit 7905e71
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ Imports:
BiocGenerics,
S4Vectors,
DelayedArray (>= 0.27.2),
S4Arrays,
SparseArray,
rhdf5,
HDF5Array,
Matrix
Matrix,
Rcpp
Suggests:
testthat,
knitr,
Expand Down
2 changes: 2 additions & 0 deletions R/readArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#' readArray(dir)
#'
#' @export
#' @aliases
#' loadArray
#' @importFrom HDF5Array HDF5Array
#' @importFrom DelayedArray type<-
readArray <- function(path, array.output.type=NULL, ...) {
Expand Down
3 changes: 3 additions & 0 deletions R/saveDelayedArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
#' list.files(dir)
#'
#' @name saveDelayedArray
#' @aliases
#' stageObject,DelayedArray-method
#' stageObject,DelayedMatrix-method
NULL

#' @export
Expand Down
1 change: 1 addition & 0 deletions man/readArray.Rd

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

2 changes: 2 additions & 0 deletions man/saveDelayedArray.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-SparseMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ test_that("fallback to large integer types for indices works correctly", {
x[100000,20] <- 99 # making sure there's a value at the bottom-right so that we check the index correctly.

if (i == 2) {
x <- t(x)
x <- Matrix::t(x)
x <- as(x, "RsparseMatrix")
} else if (i == 3) {
x <- as(x, "SVT_SparseMatrix")
Expand Down

0 comments on commit 7905e71

Please sign in to comment.