The current behavior: you must pass a comma-separated string to request more than one tag (undocumented).
aw_get_segments(tagNames = "tag1,tag2")
Proposed behavior: Allow a vector of tag names and process them inside the function. We can also continue to check for any comma within the tagNames argument for backwards compatibility.
aw_get_segments(tagNames = c("tag1", "tag2")
# Include within the function
if (!grepl(",", tagNames)) {
tagNames <- paste(tagNames, collapse = ",")
}
I haven't looked at the source, I think that'll cover it though
The current behavior: you must pass a comma-separated string to request more than one tag (undocumented).
Proposed behavior: Allow a vector of tag names and process them inside the function. We can also continue to check for any comma within the
tagNames
argument for backwards compatibility.I haven't looked at the source, I think that'll cover it though