From eb538e3e027caf4d1e45cd5fd5fe74681f70c940 Mon Sep 17 00:00:00 2001 From: Ethan White Date: Sat, 13 Jul 2024 10:01:22 -0400 Subject: [PATCH] Use r-lib actions for install and check This tests the current version of the package instead of the release --- .github/workflows/test-package.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index c40b6a1..3f9e532 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -37,10 +37,6 @@ jobs: run: | reticulate::install_miniconda() reticulate::py_install('DeepForest', pip=TRUE) - install.packages('deepforestr') shell: Rscript {0} - - name: Check - run: | - options(crayon.enabled = TRUE) - rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") - shell: Rscript {0} \ No newline at end of file + - name: Build and check deepforester + uses: r-lib/actions/check-r-package@v2