Open atn38 opened 5 years ago
I'm not sure that I agree - your example returns an empty emld
list since there are no matches. This is similar to the behavior of many other R functions that also do not have such warnings, such as filter
in the example below:
library(tidyverse)
df <- tribble(
~colA, ~colB,
"a", 1,
"b", 2,
)
result <- df %>%
filter(colA == "e")
Happy to hear other perspectives!
Nothing happens if I try to do this
Returned
publisher
is a list of one@context
.This isn't too much of a problem, since if this is next
Resulting EML is still valid and serialized .xml doesn't contain
<publisher>
element. But it'd be more informative ifeml_get
says something for non-existent elements.