Skip to content

Commit

Permalink
Normal loop
Browse files Browse the repository at this point in the history
Signed-off-by: Chaichontat Sriworarat <[email protected]>
  • Loading branch information
chaichontat committed Sep 6, 2022
1 parent d0f22b9 commit c42d53d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions render.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
files <- list.files(".", recursive = TRUE)
files <- files[grepl("^(modules|prereqs).*\\.Rmd$", files, ignore.case = TRUE)]
print(files)
lapply(files, rmarkdown::render)
for (file in files) {
rmarkdown::render(file)
}

0 comments on commit c42d53d

Please sign in to comment.