diff --git a/.github/workflows/CRAN-R-CMD-check.yaml b/.github/workflows/CRAN-R-CMD-check.yaml index cae83ca..86fd704 100644 --- a/.github/workflows/CRAN-R-CMD-check.yaml +++ b/.github/workflows/CRAN-R-CMD-check.yaml @@ -56,6 +56,12 @@ jobs: extra-packages: any::rcmdcheck needs: check + - name: Install dimRed versions + run: | + # Temp due to dimRed removal from CRAN + try(pak::pkg_install("gdkrmr/dimRed")) + shell: Rscript {0} + - uses: r-lib/actions/check-r-package@v2 - name: Notify slack fail diff --git a/.github/workflows/GH-R-CMD-check.yaml b/.github/workflows/GH-R-CMD-check.yaml index a23c081..12cca88 100644 --- a/.github/workflows/GH-R-CMD-check.yaml +++ b/.github/workflows/GH-R-CMD-check.yaml @@ -82,14 +82,8 @@ jobs: "tidymodels/poissonreg", "tidymodels/rules" ))) - try(pak::pkg_install(c( - "tidymodels/dials", - "tidymodels/hardhat", - "tidymodels/modeldata", - "tidymodels/rsample", - "tidymodels/spatialsample", - "tidymodels/yardstick" - ))) + # Temp due to dimRed removal from CRAN + try(pak::pkg_install("gdkrmr/dimRed")) shell: Rscript {0} - uses: r-lib/actions/check-r-package@v2 diff --git a/DESCRIPTION b/DESCRIPTION index c643204..b5bcdf0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -9,7 +9,8 @@ Authors@R: c( Description: A place for units tests that depend on multiple packages. License: MIT + file LICENSE Depends: - tidymodels + tidymodels, + pak Suggests: aorsf, baguette, @@ -21,7 +22,6 @@ Suggests: conflicted, coin, dials, - dimRed, discrim, doParallel, dplyr, diff --git a/extratests.Rproj b/extratests.Rproj index 766b3b2..11d4b28 100644 --- a/extratests.Rproj +++ b/extratests.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: 37f7ffa9-f646-46cc-bcc2-5afbe8d7ca41 RestoreWorkspace: No SaveWorkspace: No