The current error message is not very informative if the number of facet requested with the facet_nrow and facet_ncol is too high and causes issues:
Error in (function (obj, domains) :
'list' object cannot be coerced to type 'double'
In addition: Warning messages:
1: In mapply(FUN = f, ..., SIMPLIFY = FALSE) :
longer argument not a multiple of length of shorter
2: In split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) :
data length is not a multiple of split variable
The current error message is not very informative if the number of facet requested with the
facet_nrow
andfacet_ncol
is too high and causes issues: