From 9fe96ff94ab5e3a2a5ba9ae6d3359272f82920df Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:41:56 +0200 Subject: [PATCH] skip testing webr and shinylive --- book/webr-utils/shinylive.qmd | 2 +- book/webr-utils/webr.qmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }