Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dir() and dir(full.names = TRUE) can return paths of different orders…
…, e.g., > dir(adir) [1] "default.md" "Rmd" > dir(adir, full.names = TRUE) [1] "archetypes/Rmd" "themes/hugo-lithium/archetypes/default.md" so we need to use dir(full.names = TRUE) and then basename() to get the base filenames, instead of using dir()
- Loading branch information