Skip to content

Commit

Permalink
Merge pull request #67 from fhdsl/run-all
Browse files Browse the repository at this point in the history
Clean up list of pdfs
  • Loading branch information
avahoffman authored Jul 3, 2024
2 parents 0086314 + 2513bf9 commit 2f4804b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/render_html_list.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
files <- readr::read_csv("lecture_files.csv", show_col_types = FALSE)

if(nrow(files) > 0) {
files$files <- sapply(files$files, gsub, pattern = ".Rmd", replacement = "")
files$files <- sapply(files$files, gsub, pattern = "modules/.*/", replacement = "")
files$files <- stringr::str_replace_all(files$files, pattern = ".Rmd", replacement = "")
files$files <- stringr::str_replace_all(files$files, pattern = "modules/.*/", replacement = "")

# Don't need to render HWs
files <- files[!grepl("homework", files)]
files <- files[!grepl("homework", files$files),]
} else {
# Just render the Intro files if no others to render.
files <- data.frame(
Expand Down

0 comments on commit 2f4804b

Please sign in to comment.