From 74d3b04b633ec0cec1914e5bb046ca87b19faaab Mon Sep 17 00:00:00 2001 From: Carson Date: Mon, 22 Mar 2021 09:14:41 -0500 Subject: [PATCH] require dev version of htmltools --- DESCRIPTION | 3 ++- R/html-deps.R | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2c7cf54211..589bfac6c1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -80,7 +80,7 @@ Imports: mime (>= 0.3), jsonlite (>= 0.9.16), xtable, - htmltools (>= 0.5.0.9001), + htmltools (>= 0.5.1.9000), R6 (>= 2.0), sourcetools, later (>= 1.0.0), @@ -204,3 +204,4 @@ Encoding: UTF-8 Roxygen: list(markdown = TRUE) RdMacros: lifecycle Config/testthat/edition: 3 +Remotes: rstudio/htmltools diff --git a/R/html-deps.R b/R/html-deps.R index d810271d16..1bb6457b3e 100644 --- a/R/html-deps.R +++ b/R/html-deps.R @@ -50,7 +50,7 @@ processDeps <- function(tags, session) { names(dependencies) <- NULL list( - html = doRenderTags(tagList(ui)), # TODO: doRenderTags() shouldn't fail on a tagFunction() + html = doRenderTags(ui), deps = dependencies ) }