Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions poly-R.el
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ block. Thus, output file names don't comply with
(doc "Shiny Rmd Application")
(match (save-excursion
(goto-char (point-min))
(re-search-forward "^[ \t]*runtime:[ \t]+shiny[ \t]*$" nil t)))
(re-search-forward "^[ \t]*runtime:[ \t]+shiny\\(?:[ \t]\\|_prerendered\\)*$" nil t)))
(command (if (equal id "Rmd-ESS")
"rmarkdown::run('%I')\n"
"Rscript -e \"rmarkdown::run('%I')\""))))
Expand All @@ -532,7 +532,7 @@ block. Thus, output file names don't comply with
:to
'(("html" "html" "Shiny Web App")))
"Shiny exporter of Rmd documents in stand alone shell.
The Rmd yaml preamble must contain runtime: shiny declaration."
The Rmd yaml preamble must contain runtime: shiny or runtime: shiny_prerendered declaration."
:group 'polymode-export
:type 'object)

Expand All @@ -545,7 +545,7 @@ The Rmd yaml preamble must contain runtime: shiny declaration."
'(("html" "html" "Shiny Web App"))
:function 'pm--ess-run-command)
"Shiny exporter of Rmd documents within ESS process.
The Rmd yaml preamble must contain runtime: shiny declaration."
The Rmd yaml preamble must contain runtime: shiny or runtime: shiny_prerendered declaration."
:group 'polymode-export
:type 'object)

Expand Down