From f5b8f64c42273189f54388890a3160148e16279a Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:16:31 +0200 Subject: [PATCH] move comments out of visible chunk --- book/shinylive.qmd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/book/shinylive.qmd b/book/shinylive.qmd index 8192449181..8289f16846 100644 --- a/book/shinylive.qmd +++ b/book/shinylive.qmd @@ -12,6 +12,11 @@ Global shinylive configuration is available in the `_quarto.yaml` file. Modify the code below and run it to see the results. + ```{r shinylive-constructor, echo=FALSE, results='asis'} text <- unlist(c( "```{shinylive-r}", @@ -25,8 +30,6 @@ text <- unlist(c( "if (packageVersion(\"webr\") < \"0.3.0\") {", " .e <- as.environment(\"webr_shims\")", " .e[[\"library\"]] <- function(pkg, ...) {", - " # https://github.com/quarto-ext/shinylive/issues/48", - " # simplified copy of webr::library_shim from the higher version of webr package", " package <- as.character(substitute(pkg))", " if (length(find.package(package, quiet = TRUE)) == 0) {", " webr::install(package)",