From 907c72beff78e02cd8837101e690bcac75ac6684 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Mon, 29 Apr 2024 12:40:05 +0000 Subject: [PATCH] docs(wiki): fix ordering of the table content --- build/reports/wiki_home.Rmd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/reports/wiki_home.Rmd b/build/reports/wiki_home.Rmd index 4fa092c3..64858bcf 100644 --- a/build/reports/wiki_home.Rmd +++ b/build/reports/wiki_home.Rmd @@ -48,7 +48,12 @@ df_definitions <- fs::dir_ls( path = "bakefiles", regexp = r"(.+\.docker-bake.json$)" ) |> - rev() |> + stringr::str_sort(decreasing = TRUE) |> + # Move extra to the end + (\(x) { + cond <- stringr::str_detect(x, "extra") + c(x[!cond], x[cond]) + })() |> purrr::map(.read_bakefile) |> purrr::list_rbind() |> dplyr::mutate(