From 03229008c97f5e9b3076019e090a726f9c8ccac0 Mon Sep 17 00:00:00 2001 From: Radermecker Cyril Date: Fri, 20 Sep 2024 14:12:27 +0200 Subject: [PATCH] Update action_BODC_table_generator.yml --- .github/workflows/action_BODC_table_generator.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/action_BODC_table_generator.yml b/.github/workflows/action_BODC_table_generator.yml index 418dd40..82ddc1d 100644 --- a/.github/workflows/action_BODC_table_generator.yml +++ b/.github/workflows/action_BODC_table_generator.yml @@ -50,16 +50,17 @@ jobs: uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} - - # Step 6: Install package dependencies - - name: Install package dependencies - uses: r-lib/actions/setup-r-dependencies@v2 - # Step 7: Install R packages + # Step 6: Install R packages - name: Install R packages run: | - Rscript -e 'install.packages(c("usethis","devtools"))' + Rscript -e 'install.packages(c("usethis","devtools","remotes"))' + Rscript -e 'remotes::install_github("r-spatial/sf")' + # Step 7: Install package dependencies + - name: Install package dependencies + uses: r-lib/actions/setup-r-dependencies@v2 + # Step 8: Read the CSV files in R and run the usethis::use_data() commands - name: Process CSV files with R run: |