Skip to content

isolationWindow fails with libxml2 2.14+ #312

@rekado

Description

@rekado

The XML package depends on a feature in libxml2 to transparently decompress gzipped files. As of libxml2 2.12 this feature is only available when configured with --with-legacy. As of libxml2 2.14 the feature no longer works even with the --with-legacy switch. Decompression via zlib is slated for removal in the next release.

isolationWindow in R/utils.R uses XML::xmlParse on potentially gzipped files. An example is the test in inst/unitTests/test_isolationWindow.R:

msdata::proteomics(full.names = TRUE,
                            pattern = "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzML.gz")

The isolationWindow procedure fails in the call to XML::xmlParse when libxml2 2.14 is installed (or libxml2 2.12+ without the --with-legacy option) because the raw gzipped file is passed to the XML parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions