From 236ca56d0f741290b8763130009bc5fffb6d0ee8 Mon Sep 17 00:00:00 2001 From: cpsievert Date: Tue, 2 Apr 2024 14:22:13 +0000 Subject: [PATCH] Built site for htmltools: 0.5.8.1@ff7f09d --- articles/tagQuery.html | 4 ++-- pkgdown.yml | 4 ++-- reference/plotTag.html | 9 +++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/articles/tagQuery.html b/articles/tagQuery.html index 28c0d06a..98b0cdb7 100644 --- a/articles/tagQuery.html +++ b/articles/tagQuery.html @@ -541,8 +541,8 @@

Performance#> # A tibble: 2 × 6 #> expression min median `itr/sec` mem_alloc `gc/sec` #> <bch:expr> <dbl> <dbl> <dbl> <bch:byt> <dbl> -#> 1 tagQuery 719. 756. 1314. 11.4KB 19.2 -#> 2 tagAppend 1286. 1339. 744. 50.5KB 19.8 +#> 1 tagQuery 717. 742. 1340. 11.4KB 19.2 +#> 2 tagAppend 1310. 1356. 735. 50.5KB 20.2 diff --git a/pkgdown.yml b/pkgdown.yml index 33b5c90a..831d4c9a 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,10 +1,10 @@ -pandoc: 3.1.2 +pandoc: 3.1.11 pkgdown: 2.0.7 pkgdown_sha: ~ articles: htmltools: htmltools.html tagQuery: tagQuery.html -last_built: 2024-03-29T19:03Z +last_built: 2024-04-02T14:21Z urls: reference: https://rstudio.github.io/htmltools/reference article: https://rstudio.github.io/htmltools/articles diff --git a/reference/plotTag.html b/reference/plotTag.html index 68215a6e..e27ff728 100644 --- a/reference/plotTag.html +++ b/reference/plotTag.html @@ -169,20 +169,21 @@

See also

Examples

-
img <- plotTag({
+    
if (FALSE) { # rlang::is_interactive()
+img <- plotTag({
   plot(cars)
 }, "A plot of the 'cars' dataset", width = 375, height = 275)
 
-if (interactive()) img
+img
 
-if (interactive() && capabilities("cairo")) {
+if (capabilities("cairo")) {
   plotTag(
     plot(pressure), "A plot of the 'pressure' dataset",
     device = grDevices::svg, width = 375, height = 275, pixelratio = 1/72,
     mimeType = "image/svg+xml"
   )
 }
-
+}