Updated file #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: R script for GMT | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: r-lib/actions/setup-r@v2 | |
- name: Set up R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.2.3' | |
- name: Install packages | |
run: | | |
R -e "install.packages(c('dplyr', 'tidyr', 'janitor','readxl'))" | |
# - name: Delete old CSV file | |
# run: | | |
# cd Data | |
# rm Global_merchandise_trade_V2.csv | |
- name: Run R script | |
run: Rscript Global_Merchandise_Trade.R |