Skip to content

Commit 1646909

Browse files
committed
more places where you need to remove chunk evalution based on requireNamespace("roxy.shinylive", quietly = TRUE)
1 parent 0550fc7 commit 1646909

10 files changed

+10
-10
lines changed

vignettes/teal-modules-general.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ url <- roxy.shinylive::create_shinylive_url(code)
8888
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
8989
```
9090

91-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
91+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
9292
knitr::include_url(url, height = "800px")
9393
```
9494

vignettes/using-association-plot.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
316316
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
317317
```
318318

319-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
319+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
320320
knitr::include_url(url, height = "800px")
321321
```

vignettes/using-bivariate-plot.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
642642
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
643643
```
644644

645-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
645+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
646646
knitr::include_url(url, height = "800px")
647647
```

vignettes/using-cross-table.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
159159
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
160160
```
161161

162-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
162+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
163163
knitr::include_url(url, height = "800px")
164164
```

vignettes/using-data-table.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
129129
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
130130
```
131131

132-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
132+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
133133
knitr::include_url(url, height = "800px")
134134
```

vignettes/using-outliers-module.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
210210
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
211211
```
212212

213-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
213+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
214214
knitr::include_url(url, height = "800px")
215215
```

vignettes/using-regression-plots.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
289289
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
290290
```
291291

292-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
292+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
293293
knitr::include_url(url, height = "800px")
294294
```

vignettes/using-response-plot.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
398398
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
399399
```
400400

401-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
401+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
402402
knitr::include_url(url, height = "800px")
403403
```

vignettes/using-scatterplot-matrix.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
177177
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
178178
```
179179

180-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
180+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
181181
knitr::include_url(url, height = "800px")
182182
```

vignettes/using-scatterplot.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,6 @@ url <- roxy.shinylive::create_shinylive_url(code)
393393
cat(sprintf("[Open in Shinylive](%s)\n\n", url))
394394
```
395395

396-
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
396+
```{r shinylive_iframe, echo = FALSE, out.width = '150%', out.extra = 'style = "position: relative; z-index:1"', eval = requireNamespace("roxy.shinylive", quietly = TRUE) && knitr::is_html_output() && identical(Sys.getenv("IN_PKGDOWN"), "true")}
397397
knitr::include_url(url, height = "800px")
398398
```

0 commit comments

Comments
 (0)