pairwiseAlignment() has moved from Biostrings to pwalign since Biostrings >= 2.72.0.
This PR determines which package to use by detecting the installation status and version Biostrings at runtime, so that protr can work on any R/Bioconductor/Biostrings version.
This solution tries to strike a balance between maintaining compatibility and not imposing unnecessary R version or dependency installation requirements on users.
Fixes #52
pairwiseAlignment()
has moved from Biostrings to pwalign since Biostrings >= 2.72.0.This PR determines which package to use by detecting the installation status and version Biostrings at runtime, so that protr can work on any R/Bioconductor/Biostrings version.
This solution tries to strike a balance between maintaining compatibility and not imposing unnecessary R version or dependency installation requirements on users.