Skip to content

Commit

Permalink
just random LLM suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
c1au6i0 committed Jan 2, 2025
1 parent 8909576 commit 30e2aac
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

# Install basic dependencies first
- name: Install basic R dependencies
# Initialize R and install core packages
- name: Initialize R environment
run: |
install.packages(c('remotes', 'fs', 'rcmdcheck'), repos = 'https://cloud.r-project.org')
shell: Rscript {0}
writeLines('.libPaths()', con = '~/.Rprofile')
Rscript -e "print(.libPaths())"
Rscript -e "print(Sys.getenv('R_LIBS_USER'))"
Rscript -e "install.packages('pak', repos = 'https://cloud.r-project.org')"
Rscript -e "pak::pkg_install('fs')"
shell: bash

- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand Down

0 comments on commit 30e2aac

Please sign in to comment.