File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
R-packages/covidcast/tests/testthat Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2727 steps :
2828 - uses : actions/checkout@v2
2929 - name : Set up R ${{ matrix.r-version }}
30- uses : r-lib/actions/setup-r@ffe45a39586f073cc2e9af79c4ba563b657dc6e3
30+ uses : r-lib/actions/setup-r@v1
3131 with :
3232 r-version : ${{ matrix.r-version }}
3333 - name : Install libcurl
3636 uses : actions/cache@v2
3737 with :
3838 path : ${{ env.R_LIBS_USER }}
39- key : ${{ runner.os }}-r-1 -
39+ key : ${{ runner.os }}-r-2 -
4040 - name : Install dependencies
4141 run : |
4242 install.packages(c("remotes", "rcmdcheck"))
Original file line number Diff line number Diff line change 1+ # Many tests use hand-made reference data frames. In R < 4.0, columns like
2+ # `geo_values` and `data_source`, containing strings, are interpreted as
3+ # factors. To prevent us from having to set stringsAsFactors = FALSE in every
4+ # test case, set the option while saving the default to restore in the teardown
5+ # (in teardown-options.R).
6+ .defaultStringsAsFactors <- options(stringsAsFactors = FALSE )
Original file line number Diff line number Diff line change 1+ # see setup-options.R
2+ options(stringsAsFactors = .defaultStringsAsFactors )
You can’t perform that action at this time.
0 commit comments