adding some checks to disable the real-time display when RStudio is not running
diff --git a/R/kableExtra-package.R b/R/kableExtra-package.R
index b0a3fcc..c556076 100644
--- a/R/kableExtra-package.R
+++ b/R/kableExtra-package.R
@@ -71,6 +71,7 @@
 #' @importFrom viridisLite viridis
 #' @importFrom stats ave
 #' @importFrom grDevices col2rgb
+#' @importFrom rstudioapi isAvailable viewer
 #' @import htmltools
 #' @name kableExtra-package
 #' @aliases kableExtra