Bioconductor / DelayedArray

A unified framework for working transparently with on-disk and in-memory array-like datasets
https://bioconductor.org/packages/DelayedArray
24 stars 9 forks source link

Unnecessary (?) warnings from DelayedArray:::.backward_compat #74

Closed LTLA closed 3 years ago

LTLA commented 3 years ago

For example:

library(DelayedArray)
basic <- DelayedArray(matrix(rpois(1000, 0.1), ncol=10))
out <- as(basic, "SparseArraySeed")
## Warning messages:
## 1:   starting with DelayedArray 0.15.12, passing 'block' to currentBlockId()
##   is no longer needed and will soon be considered an error 
## 2:   starting with DelayedArray 0.15.12, passing 'block' to effectiveGrid()
##   is no longer needed and will soon be considered an error 

Should be a simple case of just removing the block passing in .BLOCK_dense2sparse (and .BLOCK_which).