Skip to content

Commit

Permalink
Fix: remove diretórios
Browse files Browse the repository at this point in the history
  • Loading branch information
jjesusfilho authored Aug 23, 2024
1 parent c73db7c commit 7b9f084
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/file_search.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#'
file_search <- function( pattern = "", dir = "R"){

a <- list.files(dir,full.names = TRUE)
a <- list.files(dir, full.names = TRUE)

a <- subset(a, subset = !dir.exists(a))

purrr::map_chr(a, ~{
readr::read_lines(.x) %>%
Expand Down

0 comments on commit 7b9f084

Please sign in to comment.