Created
September 5, 2021 15:39
-
-
Save sbalci/1700dae22bb345aafac735331969c549 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# find all Rmd files in R projects | |
list_Rmd_files <- dir(here::here(), pattern = "*.Rmd") | |
exclude_Rmd_files <- | |
dir(here::here(), pattern = "^_|references|other") | |
list_Rmd_files <- | |
list_Rmd_files[!(list_Rmd_files %in% exclude_Rmd_files)] | |
list_Rmd_files <- unique(c("index.Rmd", list_Rmd_files)) | |
# https://git.io/JuqOy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment