From 28d632e2815ec56a5d64095e0c09464258cc33e0 Mon Sep 17 00:00:00 2001 From: George Vega Yon Date: Tue, 19 Nov 2024 03:35:08 +0000 Subject: [PATCH] Adding check on epiworldR --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d0c637a..696e7f2d 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,3 +52,17 @@ jobs: cd tests make main.o ./main.o + + test-epiworld-r: + runs-on: ubuntu-latest + container: rocker/r-base:latest + + steps: + - uses: actions/checkout@v4 + + - name: Getting epiworldR + run: | + git clone --depth=1 https://github.com/UofUEpiBio/epiworldR.git r-pkg + rsync -avz include/epiworld/ r-pkg/inst/include/epiworld/ + R CMD build r-pkg + R CMD INSTALL epiworldR_*.tar.gz