Improve warning message
diff --git a/R/collapse_rows.R b/R/collapse_rows.R
index 1f9d0d3..9feb93d 100644
--- a/R/collapse_rows.R
+++ b/R/collapse_rows.R
@@ -23,7 +23,9 @@
# }
kable_format <- attr(kable_input, "format")
if (!kable_format %in% c("html", "latex")) {
- message("Currently generic markdown table using pandoc is not supported.")
+ warning("Please specify format in kable. kableExtra can customize either ",
+ "HTML or LaTeX outputs. See https://haozhu233.github.io/kableExtra/ ",
+ "for details.")
return(kable_input)
}
if (kable_format == "html") {