Open pepijnvink opened 1 year ago
E.g. instead of if(is.matrix(x) | is.data.frame(x){ } use if(inherits_any(x, c("matrix", "DataFrame"))){ }
if(is.matrix(x) | is.data.frame(x){ }
if(inherits_any(x, c("matrix", "DataFrame"))){ }
Use this in #138
E.g. instead of
if(is.matrix(x) | is.data.frame(x){ }
useif(inherits_any(x, c("matrix", "DataFrame"))){ }