From fd71d1a95323c30d7646b22f7c5d2d74ae4c6d7b Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 28 May 2024 08:33:37 -0500 Subject: [PATCH] Force consistent sort --- R/theme.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/theme.R b/R/theme.R index 42cbe5e18..b08d8ecca 100644 --- a/R/theme.R +++ b/R/theme.R @@ -17,7 +17,8 @@ build_bslib <- function(pkg = ".", call = caller_env()) { changed <- all_deps[!diff | is.na(diff)] if (length(changed) > 0) { - purrr::walk(changed, function(dst) { + withr::local_locale(LC_COLLATE = "C") + purrr::walk(sort(changed), function(dst) { cli::cli_inform("Updating {dst_path(path_rel(dst, pkg$dst_path))}") }) }