From c93af21010b97bacbacafe6b4e904207fba59fae Mon Sep 17 00:00:00 2001 From: Karen Noiva Date: Tue, 5 Nov 2024 14:48:39 -0500 Subject: [PATCH] Update test_fredi.yml Corrected line referring to undefined variable that contains a logical value indicating whether the path for saving results exists --- .github/workflows/test_fredi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_fredi.yml b/.github/workflows/test_fredi.yml index 0c6bc1a..2a8588a 100644 --- a/.github/workflows/test_fredi.yml +++ b/.github/workflows/test_fredi.yml @@ -71,7 +71,8 @@ jobs: oFileRef <- oPath0 |> file.path("refResults.rda") ### Check if path exists and, if not, create it - if(!exists0) oPath0 |> dir.create(recursive = TRUE) + exists0 <- oPath0 |> dir.exists() + if(!exists0) oPath0 |> dir.create(recursive=TRUE) ###### Action Arguments ###### urlRepo <- "https://github.com/USEPA/FrEDI"