From ddf8bf1dac285bc0ac76656a8425a412a3fbfc00 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 16 May 2024 10:22:18 -0400 Subject: [PATCH] Strip name since it causes whisker to have problems --- R/build-favicons.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/build-favicons.R b/R/build-favicons.R index 72ec47ec0..8bdca8f5b 100644 --- a/R/build-favicons.R +++ b/R/build-favicons.R @@ -119,5 +119,5 @@ copy_favicons <- function(pkg = ".") { has_favicons <- function(pkg = ".") { pkg <- as_pkgdown(pkg) - file_exists(path(pkg$src_path, "pkgdown", "favicon")) + unname(file_exists(path(pkg$src_path, "pkgdown", "favicon"))) }