Fix bug when treatment group with 0 events #336
Workflow file for this run
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
name: R tests | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
r-version: ["3.6.0", "3.6.3", "4.1.0"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.r-version }} | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.9" | |
- name: "Install required system libraries" | |
run: sudo apt-get install libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.roo | |
key: ${{ runner.os }}-${{ matrix.r-version}}-${{ hashFiles('**/roo.lock') }} | |
- name: "Create devenv" | |
run: | | |
pip install roo | |
roo environment init --r-version "${{ matrix.r-version }}" | |
roo install --verbose-build | |
- name: "Run unittests" | |
run: | | |
make unittest |