fix: некорректная загрузка box-модуля
This commit is contained in:
20
.Rprofile
20
.Rprofile
@@ -1 +1,21 @@
|
|||||||
source("renv/activate.R")
|
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.DEBUG = FALSE,
|
||||||
# APP.FILE_DB = fs::path("data.sqlite"),
|
# APP.FILE_DB = fs::path("data.sqlite"),
|
||||||
shiny.host = "127.0.0.1",
|
shiny.host = "127.0.0.1",
|
||||||
shiny.port = 1337,
|
shiny.port = 1338,
|
||||||
...
|
...
|
||||||
) {
|
) {
|
||||||
options(
|
options(
|
||||||
|
|||||||
@@ -263,7 +263,8 @@ update_forms_with_data = function(
|
|||||||
local_delimeter = getOption("SYMBOL_DELIM"),
|
local_delimeter = getOption("SYMBOL_DELIM"),
|
||||||
ns
|
ns
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
options(box.path = here::here())
|
||||||
box::use(modules/data_manipulations[is_this_empty_value])
|
box::use(modules/data_manipulations[is_this_empty_value])
|
||||||
|
|
||||||
# print("-----------------")
|
# print("-----------------")
|
||||||
|
|||||||
Reference in New Issue
Block a user