fix: некорректная загрузка box-модуля

This commit is contained in:
2026-04-14 17:31:40 +03:00
parent 6cf76641ed
commit c50a259541
4 changed files with 23 additions and 2 deletions

View File

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

View File

@@ -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(

View File

@@ -264,6 +264,7 @@ update_forms_with_data = function(
ns
) {
options(box.path = here::here())
box::use(modules/data_manipulations[is_this_empty_value])
# print("-----------------")