fix: некорректная загрузка box-модуля
This commit is contained in:
20
.Rprofile
20
.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}:"
|
||||
))
|
||||
}
|
||||
})()
|
||||
|
||||
Binary file not shown.
@@ -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(
|
||||
|
||||
@@ -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("-----------------")
|
||||
|
||||
Reference in New Issue
Block a user