Skip to content

Commit

Permalink
Fix basic.yml 14
Browse files Browse the repository at this point in the history
  • Loading branch information
nalinigans committed May 18, 2023
1 parent ed0f638 commit ca26ae9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,25 +107,16 @@ jobs:
r-version: ${{ matrix.r-version }}

- name: Create .Renviron
run: |
mkdir -p $R_LIBS
echo "R_LIBS=$R_LIBS" > .Renviron
echo "**** R_LIBS=$R_LIBS"
echo "cat .Renviron"
pwd
cat .Renviron
run: echo "R_LIBS=$R_LIBS" > .Renviron

- name: Cache installed Packages
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS }}
key: R-libs-${{ runner.os }}-${{ matrix.r-version }}
key: R-libs-${{ runner.os }}-${{ matrix.r-version }}-${{ hashFiles('DESCRIPTION')

- name: Install Dependencies
run: |
print("Printing libPaths...")
.libPaths()
print("Printing libPaths DONE")
system("sudo apt-get install libcurl4-openssl-dev")
r_libs=Sys.getenv("R_LIBS")
install.packages(c("remotes", "rcmdcheck"), lib=r_libs)
Expand Down

0 comments on commit ca26ae9

Please sign in to comment.