Skip to content

Commit

Permalink
temporary solution regarding dimRed
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo committed Jan 12, 2025
1 parent 7d9e356 commit c34f6fc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CRAN-R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/GH-R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -21,7 +22,6 @@ Suggests:
conflicted,
coin,
dials,
dimRed,
discrim,
doParallel,
dplyr,
Expand Down
1 change: 1 addition & 0 deletions extratests.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: 37f7ffa9-f646-46cc-bcc2-5afbe8d7ca41

RestoreWorkspace: No
SaveWorkspace: No
Expand Down

0 comments on commit c34f6fc

Please sign in to comment.