Skip to content

Commit

Permalink
Reporting current pandoc version installed upon app startup (no repor…
Browse files Browse the repository at this point in the history
…t generation possible on shinyapps.io probably due to outdated pandoc).
  • Loading branch information
janlisec committed Jun 12, 2024
1 parent 166447a commit d4218b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions R/app_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ app_server <- function(input, output, session) {
# set up new R6 object upon app start
rv <- eCerto$new(init_rv()) # initiate persistent variables

# message pandoc version
message("Current pandoc version: ", rmarkdown::pandoc_version())

# register the R6 object for app testing
shiny::exportTestValues(
rv = rv
Expand Down
3 changes: 2 additions & 1 deletion inst/app/www/rmd/help_start.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ output:
toc_float:
collapsed: false
smooth_scroll: false
self_contained: true
embed-resources: true
standalone: true
---


Expand Down

0 comments on commit d4218b4

Please sign in to comment.