Skip to content

Commit

Permalink
utilize package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Oct 2, 2023
1 parent 2029366 commit 0fc6cc2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/render-rmarkdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package: dashboard
Package: easystatsdashboard
Title: Dashboard about status of {easystats} packages
Version: 1.0.0
Authors@R:
Expand Down
7 changes: 6 additions & 1 deletion dashboard.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,12 @@ Workflow status
===========

```{r workflow_status_helpers, include = FALSE}
callr::rscript("./data-raw/workflow_badge_urls_db.R")
badge_url_data_generator_script <- system.file(
"raw-scripts", "workflow_badge_urls_db.R",
package = "easystatsdashboard"
)
callr::rscript(badge_url_data_generator_script)
workflow_status <- readRDS("badge_url_data.rds") %>% as_tibble()
extract_workflow_status <- function(url) {
Expand Down
File renamed without changes.

0 comments on commit 0fc6cc2

Please sign in to comment.