diff --git a/.github/workflows/render-rmarkdown.yaml b/.github/workflows/render-dashboard.yaml
similarity index 93%
rename from .github/workflows/render-rmarkdown.yaml
rename to .github/workflows/render-dashboard.yaml
index 6a24e77..0ab5dbb 100644
--- a/.github/workflows/render-rmarkdown.yaml
+++ b/.github/workflows/render-dashboard.yaml
@@ -28,6 +28,9 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
+ with:
+ extra-packages: |
+ local::.
- name: Render Rmarkdown files
run: |
diff --git a/badge_url_data.csv b/badge_url_data.csv
new file mode 100644
index 0000000..d4d1ecb
--- /dev/null
+++ b/badge_url_data.csv
@@ -0,0 +1,18 @@
+workflow bayestestR correlation datawizard easystats effectsize insight modelbased performance parameters report see
+R-CMD-check-devel-easystats "" "" "" "" "" "" "" "" "" "" ""
+R-CMD-check-hard "" "" "" "" "" "" "" "" "" "" ""
+R-CMD-check-strict "" "" "" "" "" "" "" "" "" "" ""
+R-CMD-check "" "" "" "" "" "" "" "" "" "" ""
+check-all-examples "" "" "" "" "" "" "" "" "" "" ""
+check-link-rot "" "" "" "" "" "" "" "" "" "" ""
+check-random-test-order "" "" "" "" "" "" "" "" "" "" ""
+check-readme "" "" "" "" "" "" "" "" "" "" ""
+check-spelling "" "" "" "" "" "" "" "" "" "" ""
+check-styling "" "" "" "" "" "" "" "" "" "" ""
+check-test-warnings "" "" "" "" "" "" "" "" "" "" ""
+check-vignette-warnings "" "" "" "" "" "" "" "" "" "" ""
+html-5-check "" "" "" "" "" "" "" "" "" "" ""
+lint "" "" "" "" "" "" "" "" "" "" ""
+pkgdown-no-suggests "" "" "" "" "" "" "" "" "" "" ""
+pkgdown "" "" "" "" "" "" "" "" "" "" ""
+test-coverage "" "" "" "" "" "" "" "" "" "" ""
diff --git a/badge_url_data.rds b/badge_url_data.rds
deleted file mode 100644
index 77ffaf1..0000000
Binary files a/badge_url_data.rds and /dev/null differ
diff --git a/dashboard.Rmd b/dashboard.Rmd
index 16c4a56..5208c8f 100644
--- a/dashboard.Rmd
+++ b/dashboard.Rmd
@@ -334,7 +334,13 @@ Workflow status
===========
```{r workflow_status_helpers, include = FALSE}
-workflow_status <- readRDS("badge_url_data.rds") %>% as_tibble()
+badge_url_data_generator_script <- system.file(
+ "raw-scripts", "workflow_badge_urls_db.R",
+ package = "dashboard"
+)
+source(badge_url_data_generator_script, local = knitr::knit_global())
+
+workflow_status <- url_df %>% as_tibble()
extract_workflow_status <- function(url) {
response <- httr::GET(url)
diff --git a/data-raw/workflow_badge_urls_db.R b/inst/raw-scripts/workflow_badge_urls_db.R
similarity index 95%
rename from data-raw/workflow_badge_urls_db.R
rename to inst/raw-scripts/workflow_badge_urls_db.R
index 60689dc..1e3a473 100644
--- a/data-raw/workflow_badge_urls_db.R
+++ b/inst/raw-scripts/workflow_badge_urls_db.R
@@ -49,4 +49,5 @@ easystats_packages <- easystats:::.packages_on_cran()
url_list <- purrr::map(easystats_packages, ~ generate_workflow_status_badge_urls("easystats", .x))
url_df <- as.data.frame(purrr::set_names(url_list, easystats_packages))
url_df <- dplyr::mutate(url_df, workflow = main_workflow_names, .before = 1L)
-saveRDS(url_df, "badge_url_data.rds")
+# vroom::vroom_write(url_df, "badge_url_data.csv")
+# saveRDS(url_df, "badge_url_data.rds")