What is your question?
The function variable_type_icons exists in two places:
tmg:
|
variable_type_icons <- function(var_type) { |
|
checkmate::assert_character(var_type, any.missing = FALSE) |
|
|
|
class_to_icon <- list( |
|
numeric = "arrow-up-1-9", |
|
integer = "arrow-up-1-9", |
|
logical = "pause", |
|
Date = "calendar", |
|
POSIXct = "calendar", |
|
POSIXlt = "calendar", |
|
factor = "chart-bar", |
|
character = "keyboard", |
|
primary_key = "key", |
|
unknown = "circle-question" |
|
) |
teal.widgets:
https://github.com/insightsengineering/teal.widgets/blob/d94641a1d7e532bef125e229cfc2407fd0d32d43/R/optionalInput.R#L323-L337
They're identical and I think they should live in teal.widgets.
Should we remove the one in tmg?
Code of Conduct
Contribution Guidelines
Security Policy
What is your question?
The function
variable_type_iconsexists in two places:tmg:
teal.modules.general/R/utils.R
Lines 237 to 251 in a835f3d
teal.widgets:
https://github.com/insightsengineering/teal.widgets/blob/d94641a1d7e532bef125e229cfc2407fd0d32d43/R/optionalInput.R#L323-L337
They're identical and I think they should live in
teal.widgets.Should we remove the one in tmg?
Code of Conduct
Contribution Guidelines
Security Policy