Bioconductor / Biostrings

Efficient manipulation of biological strings
https://bioconductor.org/packages/Biostrings
57 stars 16 forks source link

Comparing single base DNAString with single character causes stack error #51

Open Shians opened 3 years ago

Shians commented 3 years ago

Under Biostring 2.58.0 and R4.0.5 on both macOS and CentOS.

> Biostrings::DNAString("A") == "A"
Error: C stack usage  7969280 is too close to the limit

Preconverting either side of the comparison works fine

> as.character(Biostrings::DNAString("A")) == "A"
[1] TRUE
> Biostrings::DNAString("A") == Biostrings::DNAString("A")
[1] TRUE