Convenience wrapper around find_code that searches for common
data-export function calls (write_xlsx, saveRDS,
write.csv, etc.) across a directory tree.
Arguments
- path
Character. Root directory to search.
- include_comments
Logical. Passed through to
find_code. Defaults toFALSE.- workers
Integer number of parallel workers to use when future/furrr are installed. Defaults to
NULL, which caps at available cores minus one. Falls back to sequential search when future/furrr are not installed.
Value
A tibble of matches (see find_code) with an
additional pattern column recording which write function matched.
Examples
if (FALSE) { # \dontrun{
find_write_calls(here::here("analysis"))
} # }
