refactor: обновление renv, рефактор кода

This commit is contained in:
2026-03-26 22:32:45 +03:00
parent 9dfe4fdda6
commit dbe9ab42bd
4 changed files with 88 additions and 99 deletions

View File

@@ -5,9 +5,7 @@
'Module path: "', basename(box::file()), '"'
)
}
# ================
# DB RELATED ===========================
#' @export
#' @description Function to open connection to db, disigned to easy dubugging.
#' @param where text mark to distingiush calss

View File

@@ -88,7 +88,6 @@ render_cards_with_forms <- function(sub_group, main_scheme) {
# UI RELATED ============================
#' @export
#' @param TEST s
render_forms <- function(
form_id,
form_label,
@@ -254,10 +253,10 @@ render_forms <- function(
}
# SERVER LOGIC ==========================
#' @export
#' @description
#' Функция возращает пустое значение для каждого типа формы
get_empty_data <- function(type) {
if (type %in% c("text", "select_one", "select_multiple")) return(as.character(NA))
if (type %in% c("radio", "checkbox")) return(as.character(NA))