From 870f0d93cc3b4bdcdc4463b4c923bd992077bcf8 Mon Sep 17 00:00:00 2001 From: madeliri Date: Mon, 27 Apr 2026 11:42:38 +0300 Subject: [PATCH] fix config work --- .Rprofile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.Rprofile b/.Rprofile index 94c7894..c867cf1 100644 --- a/.Rprofile +++ b/.Rprofile @@ -30,3 +30,14 @@ source("renv/activate.R") } })() + + +# при первом запуске скопировать пример конфига +(function() { + + if (!file.exists("config.yml")) { + file.copy("config_example.yml", "config.yml") + } + +})() +