ropensci / RNeXML

Implementing semantically rich NeXML I/O in R
https://docs.ropensci.org/RNeXML
Other
13 stars 9 forks source link

Makes character(0) metadata value behave as empty string #236

Closed hlapp closed 5 years ago

hlapp commented 5 years ago

Some NeXML producers (such as the Phenoscape KB) can create LiteralMeta annotations with no content attribute, which in essence means an empty literal content. This will result in meta@content == character(0). This change treats these as empty strings when collecting metadata values.