"extract_version returns NULL for invalid paths"
"fetch_bioconductor_releases returns valid HTML from mock input"
"fetch_bioconductor_releases returns FALSE on 404"
"parse_bioconductor_releases correctly extracts release data"
"fetch_bioconductor_package_info returns main + archive versions"
'<html><body><table>
      <tr><td>Version</td><td>3.50.0</td></tr>
      <tr><td>Source Package</td><td>https://bioconductor.org/packages/3.20/bioc/src/contrib/test_limma_3.50.0.tar.gz</td></tr>
    </table></body></html>'
'<html><body><table>
      <tr><td>Version</td><td>3.50.0</td></tr>
      <tr><td>Source Package</td><td>https://bioconductor.org/packages/3.20/bioc/src/contrib/test_limma_3.50.0.tar.gz</td></tr>
    </table><a href="limma_3.50.0.tar.gz">limma_3.50.0.tar.gz</a></body></html>'
'<html><body>
      <a href="limma_3.48.0.tar.gz">limma_3.48.0.tar.gz</a>
      <a href="limma_3.47.0.tar.gz">limma_3.47.0.tar.gz</a>
    </body></html>'
"fetch_bioconductor_package_info returns only main version when no archive exists"
'<html><body><table>
        <tr><td>Version</td><td>2.10.0</td></tr>
        <tr><td>Source Package</td><td>https://bioconductor.org/packages/3.20/bioc/src/contrib/noarchive_2.10.0.tar.gz</td></tr>
      </table></body></html>'
"fetch_bioconductor_package_info returns only archive versions when no main version exists"
"fetch_bioconductor_package_info returns FALSE when package is not found"
"get_bioconductor_package_url returns correct URL for DESeq2"
"get_bioconductor_package_url returns correct URL for older package version"
"get_bioconductor_package_url returns NULL for non-existing package"

fetch_bioconductor_package_info returns only main version when no archive exists