diff --git a/book/webr-utils/shinylive.qmd b/book/webr-utils/shinylive.qmd index e5f933e259..cf05501d58 100644 --- a/book/webr-utils/shinylive.qmd +++ b/book/webr-utils/shinylive.qmd @@ -19,7 +19,7 @@ we have to put some code upfront - currently shinylive is using webr@v0.2.2 which is missing a feature of shimming `library()` calls - need to add this manually --> -```{r shinylive-constructor, echo=FALSE, results='asis'} +```{r shinylive-constructor, echo = FALSE, results = "asis", opts.label = "skip_if_testing"} repo_url <- ifelse(identical(Sys.getenv("QUARTO_PROFILE"), "stable"), "https://insightsengineering.r-universe.dev", "https://pharmaverse.r-universe.dev") text <- unlist(c( "```{shinylive-r}", diff --git a/book/webr-utils/webr.qmd b/book/webr-utils/webr.qmd index 1e88380818..29d8635efc 100644 --- a/book/webr-utils/webr.qmd +++ b/book/webr-utils/webr.qmd @@ -13,7 +13,7 @@ Global WebR configuration is available in the `_quarto.yaml` file. [`WebR`](https://docs.r-wasm.org/webr/latest/) is a tool allowing you to run R code in the web browser. Modify the code below and click run to see the results. Altenatively, copy the code and click [here](https://webr.r-wasm.org/latest/) to open `WebR` in a new tab. ::: -```{r, echo=FALSE, results='asis'} +```{r, echo = FALSE, results = "asis", opts.label = "skip_if_testing"} if (!exists("webr_code_labels")) { webr_code_labels <- character(0L) }