From 95c53156cf3087aef92793b69ccce0231784b42c Mon Sep 17 00:00:00 2001 From: Salim B Date: Wed, 10 May 2023 17:26:50 +0200 Subject: [PATCH] Fix pkg name --- R/build-reference.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/build-reference.R b/R/build-reference.R index 5eb26ecf9..3900e3d8c 100644 --- a/R/build-reference.R +++ b/R/build-reference.R @@ -224,7 +224,7 @@ examples_env <- function(pkg, seed = 1014, devel = TRUE, envir = parent.frame()) width <- purrr::pluck(pkg, "meta", "code", "width", .default = 80) withr::local_options(width = width, .local_envir = envir) withr::local_seed(seed) - if (requireNamespace("htmltools", quietly = TRUE)) { + if (requireNamespace("htmlwidgets", quietly = TRUE)) { htmlwidgets::setWidgetIdSeed(seed) }