hafen / trelliscopejs

TrelliscopeJS R Package
https://hafen.github.io/trelliscopejs
Other
262 stars 36 forks source link

Error in if (is.unsorted(x[[cond_cols[1]]])) { : missing value where TRUE/FALSE needed #109

Open S-Ponzo opened 3 years ago

S-Ponzo commented 3 years ago

I have a similar issue as the ones already reported - when I run the code with facet_wrap it works, but with facet_trelliscope it gives me the following error:

ggplot(df, aes(x)) + geom_histogram() + trelliscopejs::facet_trelliscope(~y))

Error in if (is.unsorted(x[[cond_cols[1]]])) { : missing value where TRUE/FALSE needed

Anyone has seen this type of error before?

Thanks in advance!

rarichardson92 commented 1 year ago

Ran into a similar issue via nested df -- might occur when there are non-unique panel names? Fixed when pasted two columns together for a unique identifier