typo
diff --git a/R/print.R b/R/print.R
index 13e8568..279dee7 100644
--- a/R/print.R
+++ b/R/print.R
@@ -7,7 +7,7 @@
   )
   html_table <- htmltools::HTML(as.character(x))
   html_result <- htmltools::tagList(html_header, html_table)
-  if (interactive & rstudioapi::isAvailable()) {
+  if (interactive() & rstudioapi::isAvailable()) {
     htmltools::html_print(html_result, viewer = rstudioapi::viewer)
   }
   print(html_result)