You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upcoming scales 1.0.0 release includes some minor changes to hue_pal() that according to my revdep checks will break the multivariate boxplot example used in the documentation of fbplot() and your vignette. The error seems to be cause at L572 where you call hue_pal()(length(ID_out)). With scales 0.5.0 this returned an empty string where as in the newest version it fails, returning the error Error: Must request at least one colour from a hue palette. because length(ID_out) == 0.
The release is expected out by next week, and I wanted to give you a heads up about this minor breaking change.
The text was updated successfully, but these errors were encountered:
Some more information: the change was made in r-lib/scales#81 so that arguments hue_pal arguments are forcibly evaluated on each call. This is the appropriate behavior but before the change, arguments to hue_pal() inside a for loop (as is your case at L572) wouldn't be evaluated until the end of the loop -- preventing the error associated with hue_pal()(0) and outputting an empty character vector rather than an error. The fix will simply need to involve proper handling of 0 lengths at L572.
The upcoming scales 1.0.0 release includes some minor changes to
hue_pal()
that according to my revdep checks will break the multivariate boxplot example used in the documentation offbplot()
and your vignette. The error seems to be cause at L572 where you callhue_pal()(length(ID_out))
. With scales 0.5.0 this returned an empty string where as in the newest version it fails, returning the errorError: Must request at least one colour from a hue palette.
becauselength(ID_out) == 0
.The release is expected out by next week, and I wanted to give you a heads up about this minor breaking change.
The text was updated successfully, but these errors were encountered: