diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 33a45a21..a8ac3da7 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -24,14 +24,14 @@ jobs: ${{ runner.os }}-r-${{ matrix.r-version }}- ${{ runner.os }}-r- - uses: actions/checkout@v4 - - name: Set up R ${{ matrix.r-version }} - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.r-version }} - name: Install system dependencies run: | sudo apt-get update sudo apt-get install -y libxml2-dev libcurl4-openssl-dev libssl-dev librsvg2-dev + - name: Set up R ${{ matrix.r-version }} + uses: r-lib/actions/setup-r@v2 + with: + r-version: ${{ matrix.r-version }} - name: Install dependencies run: | install.packages(c("remotes", "rcmdcheck", "covr", "OpenMx", "mvtnorm", "DiagrammeRsvg", "rsvg"))