Skip to content

Commit 432dbac

Browse files
authored
Merge pull request #165 from UCD-SERG/copilot/sub-pr-163-again
Fix pkgdown workflow: correct file paths and update deprecated actions
2 parents ddfc3d4 + e485f0c commit 432dbac

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ on:
1717
- 'vignettes/**'
1818
- '_quarto.yml'
1919
- '.github/workflows/pkgdown.yaml'
20-
- 'Readme.md'
21-
- 'Contributing.md'
20+
- 'README.md'
21+
- '.github/CONTRIBUTING.md'
2222
push:
2323
tags:
2424
- 'v[0-9]+.[0-9]+.[0-9]+' # build on version tags
@@ -44,7 +44,7 @@ jobs:
4444
env:
4545
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4646
steps:
47-
- uses: actions/checkout@v2
47+
- uses: actions/checkout@v4
4848

4949
- name: Configure git
5050
run: |
@@ -154,7 +154,7 @@ jobs:
154154
env:
155155
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
156156
steps:
157-
- uses: actions/checkout@v2
157+
- uses: actions/checkout@v4
158158
with:
159159
ref: "gh-pages"
160160

vignettes/articles/getting-started.qmd

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ Plot the predicted antibody curves with credible intervals:
172172
#| label: plot-curves
173173
plot_predicted_curve(
174174
fitted_model,
175-
id = serocalculator::ids(case_data)[1],
176-
antigen_iso = case_data$antigen_iso[1]
175+
ids = serocalculator::ids(simulated_data)[1],
176+
antigen_iso = simulated_data$antigen_iso[1]
177177
)
178178
```
179179

@@ -183,11 +183,8 @@ Extract and summarize the posterior estimates:
183183

184184
```{r}
185185
#| label: postprocess
186-
# Process JAGS output
187-
processed_output <- postprocess_jags_output(fitted_model)
188-
189186
# Summarize parameter estimates
190-
summary_stats <- post_summ(processed_output)
187+
summary_stats <- post_summ(fitted_model)
191188
print(summary_stats)
192189
```
193190

0 commit comments

Comments
 (0)