Skip to content

Commit

Permalink
V1.11 2024 04 15 run (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson authored Apr 15, 2024
1 parent cf81474 commit 82f1bb7
Show file tree
Hide file tree
Showing 65 changed files with 38,243 additions and 62 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/r-cmd-check.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
name: R CMD check project package
name: R CMD check project packages

on:
pull_request:
push:
branches: [main]

jobs:
build-and-check:
check-eval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
use-public-rspm: true
extra-repositories: 'https://mc-stan.org/r-packages/'
- name: "Set up dependencies for wweval"
uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: wweval
needs: check
- name: "Install cmdstan via cmdstanr"
uses: ./.github/actions/install-cmdstan
- name: "Check wweval package"
uses: r-lib/actions/check-r-package@v2
with:
working-directory: wweval

check-ww:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,13 +37,15 @@ jobs:
r-version: 'release'
use-public-rspm: true
extra-repositories: 'https://mc-stan.org/r-packages/'
- uses: r-lib/actions/setup-r-dependencies@v2
- name: "Set up dependencies for cfaforecastrenewalww"
uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: cfaforecastrenewalww
needs: check
- name: "Install cmdstan via cmdstanr"
uses: ./.github/actions/install-cmdstan
- uses: r-lib/actions/check-r-package@v2
- name: "check cfaforecastrenewalww package"
uses: r-lib/actions/check-r-package@v2
with:
working-directory: cfaforecastrenewalww
error-on: '"error"'
12 changes: 8 additions & 4 deletions _targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ list(
command = get_plot_draws(grouped_df_id,
"pred_hosp",
figure_output_subdirectory,
show_calibration_data = FALSE
show_calibration_data = FALSE,
show_median = TRUE
),
pattern = map(grouped_df_id),
iteration = "list",
Expand Down Expand Up @@ -524,7 +525,8 @@ list(
command = get_plot_draws(grouped_df,
"pred_hosp",
figure_output_subdirectory,
show_calibration_data = FALSE
show_calibration_data = FALSE,
show_median = TRUE
),
pattern = map(grouped_df),
iteration = "list",
Expand Down Expand Up @@ -683,7 +685,8 @@ list(
command = get_plot_draws(grouped_df_sa,
"pred_hosp",
figure_output_subdirectory,
show_calibration_data = FALSE
show_calibration_data = FALSE,
show_median = TRUE
),
pattern = map(grouped_df_sa),
iteration = "list",
Expand Down Expand Up @@ -776,7 +779,8 @@ list(
"pred_hosp",
grouping_var = "model_type",
figure_output_subdirectory,
show_calibration_data = FALSE
show_calibration_data = FALSE,
show_median = TRUE
),
pattern = map(grouped_df_comb),
iteration = "list",
Expand Down
Loading

0 comments on commit 82f1bb7

Please sign in to comment.