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") + } + +})() +