diff --git a/.Rprofile b/.Rprofile index 81b960f..5f9e93d 100644 --- a/.Rprofile +++ b/.Rprofile @@ -1 +1,21 @@ source("renv/activate.R") + + +(function() { + + paths <- c( + "FORM_AUTH_ENABLED", + "FORM_VERSION", + "FORM_TITLE" + ) + + lines <- paths[Sys.getenv(paths) == ""] + + if (length(lines) > 0) { + cli::cli_h3("Настройка путей окружения") + cli::cli_code(paste0(lines, "=")) + cli::cli_inform(c( + "i" = "Для нормальной работы скриптов добавьте в {.file .Renviron}:" + )) + } +})() diff --git a/configs/schemas/example_of_scheme.xlsx b/configs/schemas/example_of_scheme.xlsx index 40e5723..e1d1c24 100644 Binary files a/configs/schemas/example_of_scheme.xlsx and b/configs/schemas/example_of_scheme.xlsx differ diff --git a/modules/global_options.R b/modules/global_options.R index d536810..a1e082b 100644 --- a/modules/global_options.R +++ b/modules/global_options.R @@ -5,7 +5,7 @@ set_global_options = function( APP.DEBUG = FALSE, # APP.FILE_DB = fs::path("data.sqlite"), shiny.host = "127.0.0.1", - shiny.port = 1337, + shiny.port = 1338, ... ) { options( diff --git a/modules/utils.R b/modules/utils.R index 47503fa..9813b8c 100644 --- a/modules/utils.R +++ b/modules/utils.R @@ -263,7 +263,8 @@ update_forms_with_data = function( local_delimeter = getOption("SYMBOL_DELIM"), ns ) { - + + options(box.path = here::here()) box::use(modules/data_manipulations[is_this_empty_value]) # print("-----------------")