Skip to content

Commit

Permalink
Update action_BODC_table_generator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilrader authored Sep 20, 2024
1 parent 425a09c commit dafd6db
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/action_BODC_table_generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,17 @@ jobs:
- name: Process CSV files with R
run: |
DATE=$(date +%Y%m%d)
Rscript -e "BODCunits <- read.csv('files/BODCunits_$DATE.csv')" -e "BODCvalues <- read.csv('files/BODCvalues_$DATE.csv')" -e "BODCparameters <- read.csv('files/BODCparameters_$DATE.csv')" \
-e 'usethis::use_data(BODCunits, overwrite = TRUE)' -e 'usethis::use_data(BODCvalues, overwrite = TRUE)' -e 'usethis::use_data(BODCparameters, overwrite = TRUE)' \
-e 'devtools::document()'
Rscript -e "BODCunits <- read.csv('files/BODCunits_$DATE.csv'); \
BODCvalues <- read.csv('files/BODCvalues_$DATE.csv'); \
BODCparameters <- read.csv('files/BODCparameters_$DATE.csv'); \
usethis::use_data(BODCunits, overwrite = TRUE); \
usethis::use_data(BODCvalues, overwrite = TRUE); \
usethis::use_data(BODCparameters, overwrite = TRUE); \
devtools::document()"
#Rscript -e "BODCunits <- read.csv('files/BODCunits_$DATE.csv')" -e "BODCvalues <- read.csv('files/BODCvalues_$DATE.csv')" -e "BODCparameters <- read.csv('files/BODCparameters_$DATE.csv')" \
# -e 'usethis::use_data(BODCunits, overwrite = TRUE)' -e 'usethis::use_data(BODCvalues, overwrite = TRUE)' -e 'usethis::use_data(BODCparameters, overwrite = TRUE)' \
# -e 'devtools::document()'
# Configure git
- name: Configure Git
Expand Down

0 comments on commit dafd6db

Please sign in to comment.