Skip to content

Commit

Permalink
Merge pull request #5 from USEPA/piggyback_tkg
Browse files Browse the repository at this point in the history
Initializing the initial_actions branch
  • Loading branch information
knoiva-indecon authored Sep 19, 2023
2 parents 6ba2ffe + ef8f9fa commit f7b701e
Show file tree
Hide file tree
Showing 72 changed files with 443,309 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fredi_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Render documents and upload

on: [push]

jobs:
render_document:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- name: Install packages
run: |
Rscript -e 'install.packages("tidyverse")'
Rscript -e 'install.packages("openxlsx")'
Rscript -e 'install.packages("devtools")'
- name: Run createsystemData
run: source("createsystemData_main.R")
run: source("createsystemData_sv.R")
- name: Commit results
run: |
git config --local core.autocrlf false
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git config --local user.name "${{ github.actor }}"
git add data/sysdata**
git pull origin ${{ github.head_ref }} --autostash --rebase -X ours
git commit -a -m "update systemdata"
git push
30 changes: 30 additions & 0 deletions .github/workflows/piggyback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Render documents and upload

on:
push:
paths:
- 'inst/extdata/**'

jobs:
render_document:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- name: Install packages
run: |
Rscript -e 'install.packages("tidyverse")'
Rscript -e 'install.packages("openxlsx")'
Rscript -e 'install.packages("devtools")'
Rscript -e 'install.packages("piggyback",dependencies =TRUE)'
- name: Run createsystemData
run: source("createsystemData.R")
- name: Commit results
run: |
git config --local core.autocrlf false
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git config --local user.name "${{ github.actor }}"
git add data/sysdata**
git pull origin ${{ github.head_ref }} --autostash --rebase -X ours
git commit -a -m "update systemdata"
git push
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
13 changes: 13 additions & 0 deletions FrEDI_Data.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
Binary file added R/configLog/fredi_config_20230919.rda
Binary file not shown.
Loading

0 comments on commit f7b701e

Please sign in to comment.