Skip to content

Commit

Permalink
Ensure that library path is correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzwanenburg committed May 17, 2024
1 parent 5efec5d commit a00f72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-test-no-suggests-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
required_packages <- c("familiar", "rcmdcheck", "testthat")
required_packages <- union(required_packages, unlist(tools::package_dependencies(required_packages, recursive = TRUE), use.names=FALSE))
required_packages <- union(required_packages, installed_packages[Priority == "base"]$Package)
remove.packages(setdiff(installed_packages$Package, required_packages))
non_critical_packages <- setdiff(installed_packages$Package, required_packages)
for (package in non_critical_packages) {utils::remove.packages(installed_packages[Package == package]$Package, installed_packages[Package == package]$LibPath)}
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
Expand Down

0 comments on commit a00f72a

Please sign in to comment.