Created
September 5, 2021 15:26
-
-
Save sbalci/9c18a8bb1e387abb328d0ed319c22cda 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/JuqqI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment