Skip to content

Bump main #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 439 commits into from
Jul 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
439 commits
Select commit Hold shift + click to select a range
1c1c79b
rm silly panel_normalize
dajmcdon Nov 11, 2024
b73105f
Merge pull request #423 from cmu-delphi/ndefries/vignette-eval-var
dajmcdon Nov 11, 2024
ea34700
Merge pull request #422 from brookslogan/lcb/key_colnames-downstream
dajmcdon Nov 11, 2024
375a2ed
merge dev again
dajmcdon Nov 11, 2024
7135d7b
Merge branch 'dev' into grf-arx-hotfix
dajmcdon Nov 11, 2024
9d70989
Merge pull request #421 from cmu-delphi/grf-arx-hotfix
dajmcdon Nov 12, 2024
f8b7945
Merge pull request #427 from cmu-delphi/main-to-dev
dajmcdon Nov 12, 2024
ddc8083
stray file
dajmcdon Nov 12, 2024
437e2c7
annoying workaround needs to come back
dajmcdon Nov 12, 2024
2811d2f
Update _pkgdown.yml
dajmcdon Nov 28, 2024
463734c
add lubridate
dajmcdon Dec 3, 2024
a64b6db
style on short line
dajmcdon Dec 3, 2024
3f2c1c1
add a hidden column to track the time_value of the outcome
dajmcdon Dec 3, 2024
4af6a8a
typo in documentation and error msg
dajmcdon Dec 3, 2024
301e651
adding predictor drafted
dajmcdon Dec 3, 2024
6cb7897
remove ability for `...` to be empty in adjust_latency
dajmcdon Dec 3, 2024
426f0c7
add/remove hidden target_time_value column
dajmcdon Dec 3, 2024
fef636c
finish climate predictor draft
dajmcdon Dec 3, 2024
3c2c9b7
redocument
dajmcdon Dec 3, 2024
6f059f4
fix for #414
dsweber2 Dec 12, 2024
c576b4b
news & description
dsweber2 Dec 12, 2024
0f3a28d
formatting
dsweber2 Dec 12, 2024
964d800
epiprocess epi_slide_opt update
dsweber2 Dec 16, 2024
abcdd0b
Merge pull request #429 from cmu-delphi/distn_quantileNA
dsweber2 Dec 16, 2024
031b605
update rproj
dajmcdon Jan 17, 2025
c598840
drafted, needs refactor
dajmcdon Jan 17, 2025
e99a768
default is not required
dajmcdon Jan 17, 2025
f62d778
ci: add doc preview
dshemetov Jan 23, 2025
604173a
Merge pull request #430 from cmu-delphi/netlify
dajmcdon Jan 23, 2025
acb9533
rebuild docs, rm epi_recipe default
dajmcdon Jan 24, 2025
5570cf4
ci(netlify): add comments, simplify, fix
dshemetov Jan 24, 2025
eb02b76
Merge pull request #432 from cmu-delphi/netlify2
dshemetov Jan 24, 2025
792fec5
rm unused
dajmcdon Jan 27, 2025
009218f
pass tests
dajmcdon Jan 31, 2025
5662a95
bump version
dajmcdon Jan 31, 2025
83e3f8e
Merge branch 'dev' into climatological
dajmcdon Jan 31, 2025
7b629f4
styler
dajmcdon Jan 31, 2025
b7faa9a
fix snapshots with epidatasets 0.0.2, proj id
dajmcdon Jan 31, 2025
d65b122
fix snapshots with epidatasets 0.0.2, proj id
dajmcdon Jan 31, 2025
29216ab
Merge branch '380-add-forecast_date-recipe' of https://github.com/cmu…
dajmcdon Jan 31, 2025
c8c87bb
fu styler
dajmcdon Jan 31, 2025
1a67c5d
Apply suggestions from code review
dajmcdon Feb 1, 2025
c650d8e
upstream hardhat changes in test snaps
dajmcdon Feb 3, 2025
4814377
redocument
dajmcdon Feb 3, 2025
18d1725
Merge pull request #433 from cmu-delphi/380-add-forecast_date-recipe
dajmcdon Feb 4, 2025
26461c8
revert addition of hidden .target_time_value
dajmcdon Feb 4, 2025
a66d07f
climate prep/bake steps work as planned. does not adjust for aheads
dajmcdon Feb 4, 2025
10cd85f
tests pass
dajmcdon Feb 4, 2025
cd18833
rename objects
dajmcdon Feb 5, 2025
bcbda6d
climate predictor works as desired
dajmcdon Feb 6, 2025
2fabf45
rename test
dajmcdon Feb 6, 2025
ced85b4
more detailed documentation
dajmcdon Feb 6, 2025
01182d7
add another example
dajmcdon Feb 6, 2025
6eaad66
adding 0.5 as a default canned quantile
dsweber2 Feb 7, 2025
5126b72
news & description
dsweber2 Feb 7, 2025
aa121d3
Update R/autoplot.R
dsweber2 Feb 7, 2025
42a74f5
autoplot doesn't extrapolate by default
dsweber2 Feb 7, 2025
7d31ee3
docs mismatch, missing `dplyr::`
dsweber2 Feb 7, 2025
83a6ec8
use all_of in tidyselect
dajmcdon Feb 7, 2025
94de99d
better defaults in layer_residual_quantiles, force 0.5 and document
dajmcdon Feb 7, 2025
521756d
redocument, pass layer test
dajmcdon Feb 7, 2025
f9c1d32
default quantiles are the same everywhere
dajmcdon Feb 7, 2025
82a7674
redocument
dajmcdon Feb 7, 2025
a37df95
pass all tests
dajmcdon Feb 7, 2025
3d3c2b4
simplify docs, quantiles
dajmcdon Feb 8, 2025
dd6b564
fu styler
dajmcdon Feb 8, 2025
10b5b61
bump news
dajmcdon Feb 8, 2025
7a103fa
Merge pull request #435 from cmu-delphi/canned_median_quantile
dsweber2 Feb 8, 2025
950f363
merge dev
dajmcdon Feb 10, 2025
dab8d43
merge dev epi_recipe
dajmcdon Feb 10, 2025
d6725a8
refactor the forecaster
dajmcdon Feb 10, 2025
0be6acf
missing autoplot branch
dajmcdon Feb 10, 2025
d464c19
test args list
dajmcdon Feb 11, 2025
7afbde8
add reasonable examples
dajmcdon Feb 11, 2025
151d8ea
tests pass
dajmcdon Feb 11, 2025
381a298
add snapshot tests
dajmcdon Feb 11, 2025
83e0ad7
redocument, add news
dajmcdon Feb 11, 2025
d56d488
prefix with recipes, aside to rename object
dajmcdon Feb 11, 2025
c1cf5ba
muffle dplyr select warnings
dajmcdon Feb 11, 2025
4a348c8
shifting must happen before joining to avoid duplicated rows
dajmcdon Feb 11, 2025
46b2a2e
ignore renviron
dajmcdon Feb 11, 2025
5f76be3
months is in base, so we ensure we use lubridate
dajmcdon Feb 11, 2025
77dbcc4
rebuild readme
dajmcdon Feb 11, 2025
c98b47c
satisfy styler
dajmcdon Feb 11, 2025
41aa2f1
adjustments for epiprocess 0.10.4 growth_rate
dajmcdon Feb 11, 2025
49271da
geos with all NAs play poorly (can't calculate growth rate)
dajmcdon Feb 11, 2025
4bb4019
tests pass
dajmcdon Feb 11, 2025
45de498
pass all checks, see also cmu-delphi/epiprocess#605
dajmcdon Feb 11, 2025
60bdaa8
mention changes in news
dajmcdon Feb 11, 2025
48ea5ca
add a print method
dajmcdon Feb 12, 2025
fb6e070
fix: update recipes internal function name
dshemetov Feb 12, 2025
d0ca7e2
doc: bump version
dshemetov Feb 12, 2025
5496b84
Merge pull request #439 from cmu-delphi/hotfix
dshemetov Feb 13, 2025
7089c2f
David's suggestions
dsweber2 Feb 12, 2025
60d6aeb
time_type defaulting to the epi_df's time_type
dsweber2 Feb 13, 2025
dd011a0
Apply suggestions from code review
dajmcdon Feb 14, 2025
023c361
Merge branch 'dev' into hotfix-growth_rate
dajmcdon Feb 14, 2025
a4ab931
snapshot issues following recipes version bump
dajmcdon Feb 14, 2025
ba0a94f
Merge pull request #437 from cmu-delphi/hotfix-growth_rate
dajmcdon Feb 14, 2025
759a3b8
unneeded else branch
dsweber2 Feb 14, 2025
4477403
Merge pull request #441 from cmu-delphi/climate_suggestions
dsweber2 Feb 14, 2025
d072839
Merge branch 'dev' into climatological
dajmcdon Feb 15, 2025
5d062db
fu styler!!
dajmcdon Feb 16, 2025
21c67cd
deletion from news
dajmcdon Feb 16, 2025
05f0490
redocument, update snapshots
dajmcdon Feb 16, 2025
cfad1f1
update snaps for upstream package
dajmcdon Feb 16, 2025
bece1fe
compute the .pred_distn using residuals. document the default
dajmcdon Feb 19, 2025
5e3ed56
fix rlang bug, more detailed examples
dajmcdon Feb 19, 2025
8238703
pass checks
dajmcdon Feb 19, 2025
08fcd01
once more, FU styler
dajmcdon Feb 19, 2025
e4c43f8
move epiprocess to imports
dajmcdon Feb 26, 2025
b90b9be
adjust reexports to include epiprocess necessaries, also frequently u…
dajmcdon Feb 26, 2025
6efe759
remove unnecessary library calls from examples
dajmcdon Feb 26, 2025
766e79b
delete layer creator (dev only, unused)
dajmcdon Feb 26, 2025
f411be6
imports from epiprocess
dajmcdon Feb 26, 2025
58980f4
switch ::: to :: from epiprocess
dajmcdon Feb 26, 2025
9e93bb8
adjust some vignette libraries
dajmcdon Feb 26, 2025
cd2c583
redocument
dajmcdon Feb 26, 2025
1ce825f
pass checks and redocument
dajmcdon Feb 26, 2025
3903960
add to news and bump version
dajmcdon Feb 26, 2025
a805c2a
Merge pull request #444 from cmu-delphi/440-epiprocess-imports
dajmcdon Feb 26, 2025
a5dea72
step_climate leap weeks/days
dsweber2 Feb 27, 2025
b3db007
same for climatological_forecaster
dsweber2 Feb 27, 2025
fda832f
feb 29 is day 60, so the boundary is 59-60
dsweber2 Feb 27, 2025
49882f2
Dan's feedback, < a full year, test monthly agg
dsweber2 Mar 3, 2025
6424f39
pipe R dependency
dsweber2 Mar 5, 2025
7c9d1c6
-1 -> 999
dsweber2 Mar 5, 2025
7e10b52
Merge pull request #445 from cmu-delphi/leap_time_handling
dsweber2 Mar 11, 2025
03d50b2
version bump, minor doc update
dsweber2 Mar 11, 2025
4da9b23
Merge pull request #436 from cmu-delphi/climatological
dajmcdon Mar 12, 2025
6e76e2b
skeleton
dajmcdon Sep 30, 2024
7a87ae6
add math ops and related tests
dajmcdon Feb 19, 2025
dcca301
rename tests
dajmcdon Feb 19, 2025
316065b
quantile pred tests pass
dajmcdon Feb 19, 2025
d508069
updates to WIS
dajmcdon Feb 19, 2025
7278c69
remove the distributional package
dajmcdon Feb 19, 2025
b7b4416
tests pass, checks don't
dajmcdon Feb 25, 2025
b1d1630
pass local checks
dajmcdon Feb 25, 2025
e049766
bump news
dajmcdon Feb 25, 2025
893a52f
style: fu
dajmcdon Feb 25, 2025
e8d4e57
bump hh version to release
dajmcdon Feb 26, 2025
3895f13
allow for quantile() to threshold to an interval
dajmcdon Feb 26, 2025
fb16699
closes #434
dajmcdon Feb 26, 2025
297a65d
excise lingering distributional internals
dajmcdon Feb 26, 2025
65b2ea4
unnecessary lazydata (no data)
dajmcdon Feb 26, 2025
c7f492f
style
dajmcdon Feb 26, 2025
cc405c7
bump version number
dajmcdon Feb 26, 2025
161feb7
missing reexports
dajmcdon Mar 5, 2025
c36b242
minor docs, testing multiple pivot_longers
dsweber2 Mar 11, 2025
6c5e70f
updating for climatological
dsweber2 Mar 12, 2025
c3f0c77
neglected docs
dsweber2 Mar 12, 2025
8387aa2
no accidental link
dsweber2 Mar 12, 2025
dc5c7ac
Merge pull request #443 from cmu-delphi/nh-quantiles
dajmcdon Mar 12, 2025
928cbe7
redocument to get pkgdown to build
dajmcdon Mar 12, 2025
93386d8
adjust pkgdown
dajmcdon Mar 12, 2025
1953103
drop `check_pname` in favor just just `check_name`
dsweber2 Mar 13, 2025
ff2a2a9
news & description
dsweber2 Mar 13, 2025
e1f21d1
adding a brief test
dsweber2 Mar 13, 2025
416e4c3
drop docs, test typo
dsweber2 Mar 13, 2025
7f08d40
Merge pull request #446 from cmu-delphi/check_name
dsweber2 Mar 13, 2025
f421a2d
using check_enough_train_data in practice
dsweber2 Mar 21, 2025
b06e7e6
news & description
dsweber2 Mar 21, 2025
2940f95
actually passing all the tests
dsweber2 Mar 24, 2025
7a2a25b
ci: replace auto styler with pr-commands
dshemetov Mar 24, 2025
5ef9823
rename, old default skip, news, all_outcomes() for test, docs
dsweber2 Mar 25, 2025
c5b2568
fix drop na subtleties, unify prep/bake usage
dsweber2 Mar 25, 2025
bba711e
note about weird branch
dsweber2 Mar 25, 2025
a899188
doc: add comments
dshemetov Mar 25, 2025
4e37fe6
doc: another comment for a weird R idiom
dshemetov Mar 25, 2025
5372480
Merge pull request #453 from cmu-delphi/ds/ci
dajmcdon Mar 25, 2025
51a1c6c
extraneous test_data
dsweber2 Mar 26, 2025
1b05e99
suggestions from Dan
dsweber2 Mar 27, 2025
1499279
doc renaming
dsweber2 Mar 27, 2025
84f991d
rename, check for `pre` in names, dplyr::between
dsweber2 Mar 28, 2025
5721d41
Merge pull request #452 from cmu-delphi/arx_forecastCheckEnough
dsweber2 Mar 28, 2025
e8fa15b
examples seem to work, bump news, version
dajmcdon Apr 9, 2025
d8592e0
missed one
dajmcdon Apr 9, 2025
7d40ef8
missing x documented
dajmcdon Apr 9, 2025
c4d7ac0
Merge branch 'dev' into autoplot-fixes
dajmcdon Apr 9, 2025
bd76bf6
bump version past dev
dajmcdon Apr 9, 2025
0e86519
Merge pull request #459 from cmu-delphi/autoplot-fixes
dajmcdon Apr 10, 2025
5c5c87c
second readthrough of README.Rmd
dsweber2 Jan 23, 2025
007e2b4
make for manually clearing the caches
dsweber2 Jan 23, 2025
2b5908c
styler
dsweber2 Jan 23, 2025
e47b5d7
missed an image in the man version
dsweber2 Jan 23, 2025
f8b43c4
getting started page
dsweber2 Jan 24, 2025
77cbeb9
fixing rebase problem
dsweber2 Jan 24, 2025
1539552
linewrapping
dsweber2 Jan 24, 2025
91a980b
pushing only the dev docs
dsweber2 Jan 24, 2025
a52934a
isn't building the readme
dsweber2 Jan 24, 2025
06d5581
readme.rmd red/yellow -> blue/black
dsweber2 Jan 24, 2025
eed91fa
training on only the shown subset
dsweber2 Jan 27, 2025
39e203c
autoplot new data
dsweber2 Jan 27, 2025
0be48a0
using new autoplot
dsweber2 Jan 27, 2025
6e3d2ff
getting started first draft
dsweber2 Jan 31, 2025
c7f5d3b
much more complete guts example, branching flatline fixes
dsweber2 Feb 7, 2025
7d1273e
fix for flatline discovered, rename guts
dsweber2 Feb 7, 2025
2054f9c
docs, styler
dsweber2 Feb 10, 2025
763885e
passing check & news
dsweber2 Feb 10, 2025
ad8bf93
revising custom_epiworkflows
dsweber2 Feb 10, 2025
5177e68
some more editing
dsweber2 Feb 11, 2025
a5270cc
finished custom_workflows, reviewing backtesting
dsweber2 Feb 11, 2025
563f185
backtesting rmd rewrite
dsweber2 Feb 25, 2025
9ac8c82
dropping CAN backtesting example b/c ~no revisions
dsweber2 Feb 25, 2025
4f0c7e6
formatting
dsweber2 Feb 25, 2025
a552e14
|> in backtesting, dropped a section in get started
dsweber2 Feb 25, 2025
decc963
landing page wording and get code running
nmdefries Feb 28, 2025
ad236b6
landing page again but in Rmd
nmdefries Mar 1, 2025
9a8fc7c
consistent naming, 7dav pull instead of manually
dsweber2 Mar 3, 2025
97ded60
going back to just using the API call
dsweber2 Mar 4, 2025
2a29a6b
recipes version, include epiprocess in the rmds
dsweber2 Mar 4, 2025
bd72da5
rebuild landing page
nmdefries Mar 4, 2025
e638288
first half epipredict.Rmd
nmdefries Mar 4, 2025
93a9e8c
custom header, dropping arx_classifier smooth-qr
dsweber2 Mar 4, 2025
2f4fa89
follow up on first half of epipredict.Rmd
dsweber2 Mar 5, 2025
5003736
avoid [link] parsing
dsweber2 Mar 5, 2025
28063be
reorganize reference page
dsweber2 Mar 5, 2025
c2bc4ba
postprocessing -> post-processing
dsweber2 Mar 5, 2025
34d7a05
lots of reference updates
dsweber2 Mar 6, 2025
b61a30b
forecast needs `...` as a generic
dsweber2 Mar 7, 2025
ea276f3
include climate, only calculate necessary days
dsweber2 Mar 14, 2025
c3287d2
Adding short blurb on cdc_flatline
dsweber2 Mar 18, 2025
01f1d22
extra details for symmetrize
dsweber2 Mar 18, 2025
84ed412
epipredict.Rmd
nmdefries Mar 28, 2025
9bbf7bf
backtesting.rmd
nmdefries Apr 3, 2025
bb4025c
first half custom_epiworkflows.Rmd
nmdefries Apr 4, 2025
05f1507
second half custom_epiworkflows.Rmd
nmdefries Apr 7, 2025
c9361ae
various requested changes
dsweber2 Apr 9, 2025
cdf3730
backtesting version un/faithful clarification
nmdefries Apr 9, 2025
7304110
why comparing to final data
nmdefries Apr 9, 2025
4df2535
fixing backtest truth data plot
dsweber2 Apr 9, 2025
3aad6b8
backtesting.rmd comment fixes
nmdefries Apr 9, 2025
5469dda
add alternate step names and say if optional/not
nmdefries Apr 9, 2025
b481a28
get_test_data help
nmdefries Apr 10, 2025
764b7f9
get_test_data forecasts identical
nmdefries Apr 10, 2025
c716235
clarify changing frosting with model
nmdefries Apr 10, 2025
42b146d
classifier chunk comments
nmdefries Apr 10, 2025
ef99e42
model-specific layers
nmdefries Apr 10, 2025
a958343
removing resolved todos
dsweber2 Apr 15, 2025
2056e0a
dan's simple suggestions
dsweber2 May 2, 2025
ef1fd58
move pkgdown-watch, better climate ex, some wording
dsweber2 May 2, 2025
4a9f43e
moving library, geo-pooling phrasing
dsweber2 May 2, 2025
9f0af0a
fit -> estimate
dsweber2 May 13, 2025
c342680
recommended edits
dsweber2 Jun 16, 2025
f6a311e
lightswitch customization is hard
dsweber2 Jun 20, 2025
6047d4f
final pass
dsweber2 Jun 23, 2025
d5c816a
Merge pull request #431 from cmu-delphi/docsDraft
dsweber2 Jun 23, 2025
f8b48ea
bump version to 0.2.0
dsweber2 Jun 23, 2025
f1e7194
Merge pull request #466 from cmu-delphi/release_0.2.0
dajmcdon Jul 11, 2025
71aa520
Merge branch 'main' into dev
dajmcdon Jul 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
^doc$
^Meta$
^.lintr$
^.venv$
^.venv$
^inst/templates$
65 changes: 65 additions & 0 deletions .github/workflows/doc-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
on:
issue_comment:
types: [created]

name: doc-preview.yaml

permissions: read-all

jobs:
preview:
if: ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/preview-docs') }}

runs-on: ubuntu-latest
permissions:
# Needed to write a comment on the PR
pull-requests: write
# Needed to read the PR branch
contents: read
steps:
- uses: actions/checkout@v4
with:
# Checkout the PR branch
ref: refs/pull/${{ github.event.issue.number }}/head

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
# Standard config
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
# 'docs/' is the default directory for pkgdown::build_site()
# we add 'dev' because _pkgdown.yml has 'development: mode: devel'
publish-dir: './docs/dev'
# Development deploys only
production-deploy: false
# Enable pull request comment (default)
enable-pull-request-comment: true
# Overwrite the pull request comment with updated link (default)
overwrites-pull-request-comment: true
# Don't deploy to GitHub
enable-github-deployment: false
# Don't update the status of the commit
enable-commit-status: false
# Don't comment on the commit
enable-commit-comment: false
env:
# Netlify credentials (currently from Dmitry's account)
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1
85 changes: 85 additions & 0 deletions .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
issue_comment:
types: [created]

name: pr-commands.yaml

permissions: read-all

jobs:
document:
if: ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/document') }}
name: document
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::roxygen2
needs: pr-document

- name: Document
run: roxygen2::roxygenise()
shell: Rscript {0}

- name: commit
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add man/\* NAMESPACE
git commit -m 'Document'

- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

style:
if: ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/style') }}
name: style
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: r-lib/actions/setup-r@v2

- name: Install dependencies
run: install.packages("styler")
shell: Rscript {0}

- name: Style
run: styler::style_pkg()
shell: Rscript {0}

- name: commit
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add \*.R
git commit -m 'Style'

- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
81 changes: 0 additions & 81 deletions .github/workflows/styler.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ inst/doc
.Rprofile
renv.lock
renv/
.Renviron
23 changes: 12 additions & 11 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Package: epipredict
Title: Basic epidemiology forecasting methods
Version: 0.1.0
Version: 0.2.0
Authors@R: c(
person("Daniel J.", "McDonald", , "[email protected]", role = c("aut", "cre")),
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),
person("Dmitry", "Shemetov", email = "[email protected]", role = "aut"),
person("David", "Weber", email = "[email protected]", role = "aut"),
person("Dmitry", "Shemetov", , "[email protected]", role = "aut"),
person("David", "Weber", , "[email protected]", role = "aut"),
person("Delphi Research Group", role = c("cph", "fnd")),
person("Logan", "Brooks", role = "aut"),
person("Rachel", "Lobay", role = "aut"),
Expand All @@ -24,21 +24,22 @@ URL: https://github.com/cmu-delphi/epipredict/,
https://cmu-delphi.github.io/epipredict
BugReports: https://github.com/cmu-delphi/epipredict/issues/
Depends:
epiprocess (>= 0.9.0),
epidatasets,
parsnip (>= 1.0.0),
R (>= 3.5.0)
Imports:
checkmate,
cli,
distributional,
dplyr,
epiprocess (>= 0.11.2),
generics,
ggplot2,
glue,
hardhat (>= 1.3.0),
hardhat (>= 1.4.1),
lifecycle,
lubridate,
magrittr,
recipes (>= 1.0.4),
recipes (>= 1.1.1),
rlang (>= 1.1.0),
stats,
tibble,
Expand All @@ -48,18 +49,18 @@ Imports:
vctrs,
workflows (>= 1.0.0)
Suggests:
covidcast,
data.table,
epidatr (>= 1.0.0),
fs,
grf,
here,
knitr,
lubridate,
poissonreg,
purrr,
quantreg,
ranger,
RcppRoll,
readr,
rmarkdown,
smoothqr,
testthat (>= 3.0.0),
Expand All @@ -69,12 +70,12 @@ VignetteBuilder:
knitr
Remotes:
cmu-delphi/delphidocs,
cmu-delphi/epidatasets,
cmu-delphi/epidatr,
cmu-delphi/epiprocess,
dajmcdon/smoothqr
Config/testthat/edition: 3
Config/Needs/website: cmu-delphi/delphidocs
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Loading