ggmice icon indicating copy to clipboard operation
ggmice copied to clipboard

More efficient code using `rlang::inherits_any()`

Open pepijnvink opened this issue 1 year ago • 1 comments

E.g. instead of if(is.matrix(x) | is.data.frame(x){ } use if(inherits_any(x, c("matrix", "DataFrame"))){ }

pepijnvink avatar Jul 20 '23 12:07 pepijnvink

Use this in #138

hanneoberman avatar Dec 21 '23 15:12 hanneoberman