Skip to content

Commit

Permalink
Add full.names parameter to write_temp_data
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Nov 27, 2024
1 parent d2d584b commit df5ec44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/write_temp_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ read_temp_data <- function(year, file_name) {
clean_temp_data <- function(year, file_type = c("ep", "ind")) {
list.files(
path = get_year_dir(year),
pattern = stringr::str_glue("^{file_type}_temp")
pattern = stringr::str_glue("^{file_type}_temp"),
full.names = TRUE
) %>%
file.remove()
}

0 comments on commit df5ec44

Please sign in to comment.