From a1675092b3e99265e7d5e7588c95b4613f597e1e Mon Sep 17 00:00:00 2001 From: "arsenij.ustjanzew" <arsenij.ustjanzew@mpi-bn.mpg.de> Date: Wed, 1 Apr 2020 17:34:21 +0200 Subject: [PATCH] small bug fix --- R/assemble.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/assemble.R b/R/assemble.R index 802a821..d937e5d 100644 --- a/R/assemble.R +++ b/R/assemble.R @@ -24,7 +24,7 @@ setMethod("assemble", "i2dashboard", function(dashboard, pages = names(dashboard ymlthis::yml(date = F) %>% ymlthis::yml_title(dashboard@title) %>% ymlthis::yml_author(dashboard@author) %>% - ymlthis::yml_output(flexdashboard::flex_dashboard(theme = dashboard@theme)) %>% + ymlthis::yml_output(flexdashboard::flex_dashboard(theme = !!dashboard@theme)) %>% {if(dashboard@interactive) ymlthis::yml_runtime(., runtime = "shiny") else .} %>% ymlthis::use_rmarkdown(path = tmp_document, include_body = FALSE, quiet = TRUE, open_doc = FALSE) -- GitLab