Skip to content

Commit

Permalink
Actually inspecting this file
Browse files Browse the repository at this point in the history
  • Loading branch information
avahoffman committed Jan 16, 2024
1 parent e8eeefa commit f2cbdc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v37
uses: tj-actions/changed-files@v41
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.

- name: List all changed files
Expand All @@ -316,7 +316,7 @@ jobs:
run: Rscript -e "rmarkdown::clean_site(preview = FALSE)"

# Now we want to render all the html files from the Rmd files
- name: Run render html for the main site
- name: Run render html for the main website
id: site
run: Rscript -e "rmarkdown::render_site()"

Expand All @@ -325,7 +325,7 @@ jobs:
run: Rscript "scripts/render_module_details_for_syllabus.R"

# Render all module files
- name: Render html of modules
- name: Render html of modules where .Rmd has changed
run: |
Rscript --vanilla "scripts/render_modules.R" --files "${{ steps.changed-files.outputs.all_changed_files }}"
Expand All @@ -339,11 +339,10 @@ jobs:
run: |
Rscript --vanilla "scripts/render_resources.R" --files "${{ steps.changed-files.outputs.all_changed_files }}"
# Generate list of files that need pdfs
- name: Get list of html to pdfs
- name: Print list of lectures that need pdfs generated
run: |
Rscript --vanilla "scripts/render_html_list.R"
echo "$(cat files.txt)"
echo "$(cat lecture_files.csv)"
- name: Read html and pdf files
id: getfiles
Expand Down
6 changes: 6 additions & 0 deletions modules/Manipulating_Data_in_R/Manipulating_Data_in_R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -609,3 +609,9 @@ wide2
https://sebkrantz.github.io/collapse/

Might be helpful if your data is very large. However, `dplyr` and `tidyr` functions are great for most applications.






0 comments on commit f2cbdc0

Please sign in to comment.