Skip to content

Commit 74f1ed4

Browse files
authored
Merge pull request #725 from cmu-delphi/release/v3.0.26
Release v3.0.26
2 parents ef3aec9 + 6fbb47e commit 74f1ed4

File tree

8 files changed

+52
-41
lines changed

8 files changed

+52
-41
lines changed

.github/workflows/blog.yaml

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,50 @@ on:
77
- "environment.yml"
88
- "dependencies.R"
99
- ".github/workflows/blog.yaml"
10+
workflow_dispatch:
1011

1112
jobs:
1213
blog:
1314
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
shell: bash -l {0}
18+
env:
19+
RETICULATE_PYTHON: /usr/share/miniconda3/envs/www-main/bin/python
1420
steps:
1521
- uses: actions/checkout@v3
1622
with:
1723
# submodules: true # Fetch Hugo themes (true OR recursive)
1824
fetch-depth: 3
19-
- name: Cache Conda
20-
uses: actions/[email protected]
21-
with:
22-
path: ~/conda_pkgs_dir
23-
key: ${{ runner.os }}-conda6-${{ hashFiles('environment.yml') }}
24-
restore-keys: |
25-
${{ runner.os }}-conda6-
2625
- uses: conda-incubator/setup-miniconda@v2
2726
with:
2827
python-version: 3.9
29-
mamba-version: "*"
30-
channels: conda-forge,defaults
31-
channel-priority: true
3228
activate-environment: www-main
33-
environment-file: environment.yml
34-
auto-activate-base: false
29+
miniforge-variant: Mambaforge
30+
miniforge-version: latest
31+
use-mamba: true
3532
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
36-
# - name: Conda info
37-
# shell: bash -l {0}
38-
# run: |
39-
# conda info
40-
# conda list
33+
- name: Get Date
34+
id: get-date
35+
run: echo "name=today::$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
36+
shell: bash
37+
- name: Cache Conda env
38+
uses: actions/cache@v3
39+
with:
40+
path: ${{ env.CONDA }}/envs
41+
key: conda-${{ runner.os }}--${{ runner.arch }}--${{ steps.get-date.outputs.today }}-${{ hashFiles('environment.yml') }}-${{ env.CACHE_NUMBER }}
42+
env:
43+
# Increase this value to reset cache if etc/example-environment.yml has not changed
44+
CACHE_NUMBER: 0
45+
id: cache
46+
- name: Update environment
47+
run: mamba env update -n www-main -f environment.yml
48+
if: steps.cache.outputs.cache-hit != 'true'
49+
- name: Conda info
50+
run: |
51+
conda info
52+
conda list
4153
- name: Install R dependencies
42-
shell: bash -l {0}
4354
env:
4455
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4556
run: |
@@ -54,10 +65,8 @@ jobs:
5465
${{ runner.os }}-blogdown2-${{ hashFiles('environment.yml') }}-
5566
${{ runner.os }}-blogdown2-
5667
- name: Build site
57-
shell: bash -l {0}
5868
run: |
5969
npm run build:blog
60-
6170
- uses: actions/upload-artifact@v3
6271
with:
6372
name: blog
@@ -79,7 +88,6 @@ jobs:
7988
run: npm run lint
8089
- name: Build
8190
run: npm run build
82-
8391
- uses: actions/upload-artifact@v3
8492
with:
8593
name: website

content/blog/2021-01-22-holiday-surveys.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ regionmap <- travel %>%
108108
filter(geo_value %in% str_to_lower(statelist)) %>%
109109
mutate(value = plyr::mapvalues(geo_value, str_to_lower(statelist), regions),
110110
value = as.integer(factor(value)))
111-
111+
attr(regionmap, "metadata") <- list(geo_type = "state")
112112
grid_label <- textGrob("Data from Delphi COVIDcast, delphi.cmu.edu",
113113
hjust = 1, x = 1, gp = gpar(fontsize = 9))
114114

content/covid19/ctis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Our primary description of the survey and its results over the first year of ope
5959

6060
Other research publications using the survey data include:
6161

62+
- C. Lupton-Smith, E. Badillo Goicoechea, M. Collins, J. Lessler, M. K. Grabowski & E. A. Stuart (2022). [Consistency between Household and County Measures of Onsite Schooling during the COVID-19 Pandemic](https://doi.org/10.1080/19345747.2022.2131660). *Journal of Research on Educational Effectiveness*.
6263
- Nguyen, Q.C., Yardi, I., Gutierrez, F.X.M. et al. (2022). [Leveraging 13 million responses to the U.S. COVID-19 Trends and Impact Survey to examine vaccine hesitancy, vaccination, and mask wearing, January 2021-February 2022](https://doi.org/10.1186/s12889-022-14286-3). *BMC Public Health* 22, 1911.
6364
- J. G. Lu (2022). [Two large-scale global studies on COVID-19 vaccine hesitancy over time: Culture, uncertainty avoidance, and vaccine side-effect concerns](https://doi.org/10.1037/pspa0000320). *Journal of Personality and Social Psychology*.
6465
- J. M. Cox-Ganser, P. K. Henneberger, D. N. Weissman, G. Guthrie, and C. P. Groth (2022). [COVID-19 test positivity by occupation using the Delphi US COVID-19 Trends and Impact Survey, September–November 2020](https://doi.org/10.1002/ajim.23410). *American Journal of Industrial Medicine* 65 (9), 721-730.

content/people/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ people:
516516
image: duane-mengo.jpg
517517
affiliation: CMU/MLD
518518
team:
519-
- core
519+
- past
520+
note: Core member, April-September 2022
520521
- key: lmorinishi
521522
firstName: Leanna
522523
lastName: Morinishi

dependencies.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ install.packages("covidcast", repo="http://cran.rstudio.com/")
88
# upgrade = 'never',
99
# subdir = "R-packages/covidcast")
1010

11-
devtools::install_github("reichlab/zoltr", upgrade = 'never', quick = TRUE)
12-
devtools::install_github("reichlab/covidData", upgrade = 'never', quick = TRUE)
13-
devtools::install_github("reichlab/covidHubUtils", upgrade = 'never', quick = TRUE)
11+
devtools::install_github("reichlab/zoltr", upgrade = 'never')
12+
devtools::install_github("reichlab/covidData", upgrade = 'never')
13+
devtools::install_github("reichlab/covidHubUtils", upgrade = 'never')

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- gdal
77
- python=3.9.1
88
- pip
9-
- r-base=3.6.3
9+
- r-base
1010
- glib
1111
- mscorefonts
1212
- r-cairo
@@ -50,6 +50,7 @@ dependencies:
5050
- r-vroom
5151
- r-urltools
5252
- r-base64url
53+
- r-readr >=2
5354
- pandoc
5455
- fiona
5556
- geopandas

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "www-main",
3-
"version": "3.0.25",
3+
"version": "3.0.26",
44
"private": true,
55
"dependencies": {
66
"@fortawesome/fontawesome-free": "^6.2.0",
77
"highlight.js": "^11.6.0",
8-
"katex": "^0.16.2",
9-
"uikit": "^3.15.10",
8+
"katex": "^0.16.3",
9+
"uikit": "^3.15.11",
1010
"www-covidcast": "https://github.com/cmu-delphi/www-covidcast/releases/download/v3.2.3/www-covidcast-3.2.3.tgz",
1111
"www-covidcast-classic": "https://github.com/cmu-delphi/www-covidcast-classic/releases/download/v2.6.3/www-covidcast-classic-2.6.3.tgz",
1212
"www-epivis": "https://github.com/cmu-delphi/www-epivis/releases/download/v2.0.3/www-epivis-2.0.3.tgz"
1313
},
1414
"devDependencies": {
15-
"hugo-bin": "^0.92.3",
15+
"hugo-bin": "^0.93.0",
1616
"husky": "^8.0.1",
1717
"lint-staged": "^13.0.3",
1818
"prettier": "^2.7.1",

0 commit comments

Comments
 (0)