MRE
library(tinyplot)
aq = transform(
airquality,
Month = factor(month.abb[Month], levels = month.abb[5:9]),
hot = ifelse(Temp >= 75, "hot", "cold"),
windy = ifelse(Wind >= 15, "windy", "calm")
)
tinyplot(
Temp ~ Day,
data = aq,
facet.args = list(free = TRUE),
)
Expected behavior
Silently ignore facet args. (This is what happens when other facet args are specified in this situation.)
Actual behavior
Error in split.default(c(x, xmin, xmax), facet) :
group length is 0 but data length > 0