Closed FelixErnst closed 5 years ago
Hi Felix,
Thanks for reporting this issue.
The problem was that both Biostrings and DelayedArray were defining their own type()
generic, hence the masking of one generic by the other. So I just added a type()
generic in the BiocGenerics package (BiocGenerics 0.31.4) and removed the type()
generics from DelayedArray (DelayedArray 0.11.4) and from Biostrings (Biostrings 2.53.1).
With these changes everybody now uses the same generic and all the type()
methods are defined on that generic. This addresses the masking problem.
Note that you'll also need to make sure to re-install the HDF5Array package to avoid some weird errors due to some stale method table for the type()
generic. I bumped HDF5Array's version only for the sake of triggering its propagation and re-installation on the end-user machines.
If everything goes as expected, you should only need to run BiocManager::install()
in about 48h and that will take care of updating BiocGenerics, DelayedArray, HDF5Array, and Biostrings. This is for BioC devel only.
H.
Closing the issue. Feel free to re-open if you still run into problems with this.
Hi
the type accessor seems to be block, if the Biostrings package is loaded in the same session as DelayedArray. Not loading Biostrings or loading Biostrings before DelayedArray solves the problem.
Can this behavior be circumvented?