adding some checks to disable the real-time display when RStudio is not running
diff --git a/NAMESPACE b/NAMESPACE
index 51150dc..24da701 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -44,6 +44,8 @@
 importFrom(rmarkdown,html_dependency_jquery)
 importFrom(rmarkdown,latex_dependency)
 importFrom(rmarkdown,metadata)
+importFrom(rstudioapi,isAvailable)
+importFrom(rstudioapi,viewer)
 importFrom(rvest,html_table)
 importFrom(scales,rescale)
 importFrom(stats,ave)