forked from epiforecasts/covidregionaldata
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 14e112c Author: Sam Abbott <contact@samabbott.co.uk> Date: Fri Feb 4 15:50:18 2022 +0000 add github to vscode tools for dev environmenth commit a851c75 Author: Sam Abbott <contact@samabbott.co.uk> Date: Fri Feb 4 15:43:07 2022 +0000 switch to preferably template for website commit 2bec63f Merge: a13fd4e 6f2753e Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:28:39 2022 +0000 Merge pull request epiforecasts#450 from epiforecasts/fix-lintr-warnings Fix lintr warnings commit a13fd4e Merge: 35d6938 fd1219f Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:26:52 2022 +0000 Merge pull request epiforecasts#445 from DavisVaughan/fix/reliance-on-complete-column-order Don't rely on exact column ordering when grouped data is involved commit 6f2753e Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Fri Feb 4 16:25:46 2022 +0100 Fix lintr warnings so we don't get nagged with annotations on PRs commit fd1219f Merge: 46b22ac 35d6938 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:25:26 2022 +0000 Merge branch 'master' into fix/reliance-on-complete-column-order commit 35d6938 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:22:06 2022 +0000 Update devcontainer.json commit 70adf70 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:20:55 2022 +0000 Create build-image.yaml commit f29752e Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:19:26 2022 +0000 Drop docker from full commit commit 4aa5732 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Feb 4 15:15:27 2022 +0000 Hugo: ctb -> aut (epiforecasts#416) commit 46b22ac Author: DavisVaughan <davis@rstudio.com> Date: Mon Jan 10 10:23:41 2022 -0500 Don't rely on exact column ordering when grouped data is involved commit 097708f Merge: 950e625 1a99fa7 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Dec 10 21:43:52 2021 +0000 Merge pull request epiforecasts#444 from epiforecasts/Bisaloo-patch-1 Fix website URL commit 1a99fa7 Author: Hugo Gruson <Bisaloo@users.noreply.github.com> Date: Fri Dec 3 17:04:19 2021 +0000 Fix website URL commit 950e625 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Dec 3 16:37:48 2021 +0000 Update NEWS.md commit b93e19d Merge: f6c9759 007b535 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Dec 3 16:36:05 2021 +0000 Merge pull request epiforecasts#437 from epiforecasts/fewer-deps Reduce the number of `Imports` commit f6c9759 Merge: 4509d81 ac3e63e Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Dec 3 16:33:49 2021 +0000 Merge pull request epiforecasts#439 from epiforecasts/pr-checklist-news Update pr-checklist.yaml to include news nudge commit 4509d81 Merge: 04009e7 b24f2b6 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Fri Dec 3 16:33:08 2021 +0000 Merge pull request epiforecasts#429 from epiforecasts/alternate-switzerland New data source for Switzerland - fix for epiforecasts#412 commit b24f2b6 Author: Richard Martin-Nielsen <richard.martin@alumni.utoronto.ca> Date: Wed Dec 1 19:50:08 2021 +0200 Update all_country_data.rda commit ed0f6c0 Author: Richard Martin-Nielsen <richard.martin@alumni.utoronto.ca> Date: Wed Dec 1 19:36:35 2021 +0200 Fixed documentation links to FOPH as source of Switzerland data, updated News commit 2a7f105 Merge: aea9b96 04009e7 Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Wed Dec 1 15:23:21 2021 +0000 Merge branch 'master' into alternate-switzerland commit aea9b96 Merge: 0d8a6e5 71d7b1f Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Wed Dec 1 10:52:16 2021 +0000 Merge branch 'master' into alternate-switzerland commit ac3e63e Author: Sam Abbott <s.e.abbott12@gmail.com> Date: Wed Dec 1 10:42:33 2021 +0000 Update pr-checklist.yaml commit 007b535 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Wed Dec 1 10:43:26 2021 +0100 Run devtools::document() commit fe79373 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Wed Dec 1 10:43:16 2021 +0100 Get rid of tidyselect commit 3f5c115 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Wed Dec 1 10:27:44 2021 +0100 Remove withr dependency as well commit 79857e9 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 19:03:17 2021 +0100 Use dplyr::tibble in tests as well commit d3c150b Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 18:59:59 2021 +0100 Remove broken rlang::.data import to prevent it from being understood as a re-export commit e711456 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 12:53:15 2021 +0100 Run devtools::document() commit 4032abd Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 12:43:43 2021 +0100 Use stringr everywhere instead of stringi commit 1c4ede0 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 12:34:20 2021 +0100 Get tibble functions from dplyr commit a499cc0 Author: Hugo Gruson <hugo.gruson@protonmail.com> Date: Tue Nov 30 12:10:05 2021 +0100 Re-export pipe from dplyr commit 0d8a6e5 Author: Richard Martin-Nielsen <richard.martin@alumni.utoronto.ca> Date: Mon Oct 11 22:19:24 2021 +0300 Fixes to keep lintr happier commit 4eb12da Author: Richard Martin-Nielsen <richard.martin@alumni.utoronto.ca> Date: Mon Oct 11 22:05:46 2021 +0300 Cleaning code added and running. Passes tests. Removed AltSwitzerland code, generated data file of sample data and list of data sets. commit 76e4c44 Author: Richard Martin-Nielsen <richard.martin@alumni.utoronto.ca> Date: Mon Oct 4 22:16:44 2021 +0300 Moved old Switzerland code to SwitzerlandAlt, written functional 2-stage download method
- Loading branch information
Showing
44 changed files
with
275 additions
and
253 deletions.
There are no files selected for viewing
This file contains 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 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,50 @@ | ||
|
||
|
||
name: Create and publish a Docker image | ||
|
||
on: | ||
push: | ||
branches: ['release', 'master'] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
|
||
- name: Cancel previous builds if present | ||
uses: n1hility/cancel-previous-runs@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v2 | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./.devcontainer/Dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains 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 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,53 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
tags: ['*'] | ||
|
||
name: pkgdown | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: macOS-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: n1hility/cancel-previous-runs@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: r-lib/actions/setup-pandoc@v1 | ||
- uses: r-lib/actions/setup-r@v1 | ||
|
||
- name: Query dependencies | ||
run: | | ||
install.packages('remotes') | ||
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) | ||
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") | ||
shell: Rscript {0} | ||
|
||
- name: Restore R package cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.R_LIBS_USER }} | ||
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} | ||
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- | ||
|
||
- name: Install dependencies | ||
run: | | ||
install.packages(c("remotes", "curl")) | ||
remotes::install_deps(dependencies = TRUE) | ||
remotes::install_github("r-lib/pkgdown") | ||
remotes::install_github("amirmasoudabdol/preferably", type = "source") | ||
shell: Rscript {0} | ||
|
||
- name: Install package | ||
run: R CMD INSTALL . | ||
|
||
- name: Deploy package | ||
run: | | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' |
This file contains 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 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 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 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 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 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 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 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 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 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.