error for runtime: shiny
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 202e8c7..887fa78 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -167,6 +167,12 @@
pre_processor <- function(metadata, input_file, runtime, knit_meta, files_dir,
output_dir) {
+ # we don't work with runtime shiny
+ if (identical(runtime, "shiny")) {
+ stop("revealjs_presentation is not compatible with runtime 'shiny'",
+ call. = FALSE)
+ }
+
# use files_dir as lib_dir if not explicitly specified
if (is.null(lib_dir))
lib_dir <- files_dir