From 85d9c4033006922dfaeedfe2b1669197195f6208 Mon Sep 17 00:00:00 2001 From: CJ Yetman Date: Tue, 20 Aug 2024 17:34:45 +0200 Subject: [PATCH] don't show warning in dir already exists --- R/run_pacta.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/run_pacta.R b/R/run_pacta.R index c076221e..6603ed05 100644 --- a/R/run_pacta.R +++ b/R/run_pacta.R @@ -29,7 +29,7 @@ run_pacta <- function(config) { output_path_standard <- file.path(output_path, sector_split_type_select, "standard") } - dir.create(output_path_standard, recursive = TRUE) + dir.create(output_path_standard, recursive = TRUE, showWarnings = FALSE) # TODO: add check if all files exist, resort to test files if not