From 137425719ffaf8533e1cdb13a102ddbbafe478a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daphn=C3=A9=20Grasselly?=
 <56442075+dgrassellyb@users.noreply.github.com>
Date: Fri, 27 Oct 2023 11:49:14 +0200
Subject: [PATCH] add debug traces

---
 inst/templates/ad_adae.R | 1 +
 inst/templates/ad_adcm.R | 1 +
 inst/templates/ad_adeg.R | 1 +
 inst/templates/ad_adex.R | 1 +
 4 files changed, 4 insertions(+)

diff --git a/inst/templates/ad_adae.R b/inst/templates/ad_adae.R
index 4bd9185664..7a820f9f9e 100644
--- a/inst/templates/ad_adae.R
+++ b/inst/templates/ad_adae.R
@@ -138,4 +138,5 @@ if (!file.exists(dir)) {
   # Create the folder
   dir.create(dir)
 }
+print(dir)
 save(adae, file = file.path(dir, "adae.rda"), compress = "bzip2")
diff --git a/inst/templates/ad_adcm.R b/inst/templates/ad_adcm.R
index 51f414a073..511678bb93 100644
--- a/inst/templates/ad_adcm.R
+++ b/inst/templates/ad_adcm.R
@@ -143,4 +143,5 @@ if (!file.exists(dir)) {
   # Create the folder
   dir.create(dir)
 }
+print(dir)
 save(adcm, file = file.path(dir, "adcm.rda"), compress = "bzip2")
diff --git a/inst/templates/ad_adeg.R b/inst/templates/ad_adeg.R
index dde4bd23a3..0b3f03c2a5 100644
--- a/inst/templates/ad_adeg.R
+++ b/inst/templates/ad_adeg.R
@@ -335,4 +335,5 @@ if (!file.exists(dir)) {
   # Create the folder
   dir.create(dir)
 }
+print(dir)
 save(adeg, file = file.path(dir, "adeg.rda"), compress = "bzip2")
diff --git a/inst/templates/ad_adex.R b/inst/templates/ad_adex.R
index d22ae2e3c6..5b63c8f8b4 100644
--- a/inst/templates/ad_adex.R
+++ b/inst/templates/ad_adex.R
@@ -307,4 +307,5 @@ if (!file.exists(dir)) {
   # Create the folder
   dir.create(dir)
 }
+print(dir)
 save(adex, file = file.path(dir, "adex.rda"), compress = "bzip2")