From 7bb4cd70308c6f790eb715c195a360e8c66c8e6b Mon Sep 17 00:00:00 2001 From: Oloo Date: Mon, 11 Mar 2024 20:52:45 +0300 Subject: [PATCH] corrected file directory --- R/differences.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/differences.R b/R/differences.R index 72a02e6..e6292f8 100644 --- a/R/differences.R +++ b/R/differences.R @@ -174,7 +174,7 @@ calculate_differences <- function(outFile,...){ write(jsonlite::toJSON(results, pretty = TRUE),output_path) # Save to Excel with multiple sheets - excel_output_path <- paste0(output_path, "/runs_comparison.xlsx") # Change this to your desired output path + excel_output_path <- paste0(dirname(output_path), "/runs_comparison.xlsx") # Change this to your desired output path write.xlsx(results, excel_output_path) }