-
Notifications
You must be signed in to change notification settings - Fork 5
1.2.2 release #327
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
1.2.2 release #327
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d5c51e1
Fetch new `flusurv` fields (#210)
nmdefries bc2c22f
ci: same pr-commands as other epi packages (#325)
dshemetov 4be1c30
enh: pub_covidcast errors when time_type not day or week
dshemetov 3b0e01c
fix: pub_covidcast_meta doesn't null hsa_nci, doesn't cast time to av…
dshemetov a9a0385
enh: checkmate some checks
dshemetov 0240e9d
enh: add reference_week_day arg to fetch_args_list
dshemetov 781eecd
doc: bump version and add NEWS entry
dshemetov 42b7867
fix: tests
dshemetov c9f19fd
docs update, fix linting warning
dsweber2 9b53a5e
test day of week, correct docs
dsweber2 dc3c9e6
Merge pull request #326 from cmu-delphi/ds/parse-week
dsweber2 a22b060
Apply suggestion from @dsweber2
dsweber2 63624a2
Apply suggestion from @dsweber2
dsweber2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| # 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 | ||
| # Modifications: | ||
| # - Allow more roles to trigger each PR command | ||
| # - Document builds README.md from README.Rmd with devtools::build_readme() | ||
| # - Include a doc-preview command (uses Netlify to preview the docs) | ||
| 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: Build README.md from README.Rmd | ||
| run: Rscript -e 'if (file.exists("README.Rmd")) devtools::build_readme()' | ||
|
|
||
| - name: commit | ||
| run: | | ||
| git config --local user.name "$GITHUB_ACTOR" | ||
| git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
| 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 "$GITHUB_ACTOR@users.noreply.github.com" | ||
| git add \*.R | ||
| git commit -m 'Style' | ||
|
|
||
| - uses: r-lib/actions/pr-push@v2 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| 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/actions-netlify@v3.0 | ||
| 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 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.