Open tyner opened 2 years ago
Thanks, warnings fixed now by porting from lattice, in the sense that
xyplot(1 ~ 1, key = key)
should now work without warnings. A standalone g <- draw.key(key, draw = FALSE)
will not work unless a backend is attached, e.g.,
attach(tessella::graphics_primitives())
g <- draw.key(key, draw = FALSE)
detach()
In lattice, one may do
however in lattice0, it gives warnings and an error: