Skip to content

Commit

Permalink
remove dependency on fs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Dec 2, 2024
1 parent 4bfd4d2 commit 6921acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ retrieve_test <- function(path) {
}

neighboring_files <- function(dir = "R/") {
r_dir_info <- fs::dir_info(dir)
r_dir_info <- r_dir_info[order(r_dir_info$modification_time, decreasing = TRUE),]
as.character(r_dir_info$path)
files <- list.files(dir, full.names = TRUE)
file_info <- file.info(files)
files[order(file_info$mtime, decreasing = TRUE)]
}

append_neighboring_files <- function(path, res) {
Expand Down

0 comments on commit 6921acd

Please sign in to comment.