You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently connection is passed directly to base::serialize, which expects an open connection.
Reproducible Example
library(xml2)
x<- read_xml("<x><y/><z/></x>")
xml_serialize(x, "test")
#> Error in serialize(structure(as.character(object, ...), class = "xml_serialized_document"), : 'connection' must be a connection
The text was updated successfully, but these errors were encountered:
Issue Description and Expected Result
Currently
connection
is passed directly tobase::serialize
, which expects an open connection.Reproducible Example
The text was updated successfully, but these errors were encountered: