Skip to content

Commit

Permalink
Merge branch 'main' into 76_remove_filtered@main
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolas Burkoff authored Jul 26, 2022
2 parents c9efd56 + 0869b9a commit 7660363
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: teal.modules.general
Title: General modules to add to a teal application
Version: 0.2.14.9008
Version: 0.2.14.9009
Date: 2022-06-09
Authors@R: c(
person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# teal.modules.general 0.2.14.9008
# teal.modules.general 0.2.14.9009

### Enhancements
* Added the `teal.reporter` functionality to all modules.
Expand Down
2 changes: 1 addition & 1 deletion R/tm_a_regression.R
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ ui_a_regression <- function(id, ...) {
class = "teal-tooltip",
tagList(
"Outlier definition:",
icon("info-circle"),
icon("circle-info"),
span(
class = "tooltiptext",
paste(
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ ui_distribution <- function(id, ...) {
class = "teal-tooltip",
tagList(
"Distribution:",
icon("info-circle"),
icon("circle-info"),
span(
class = "tooltiptext",
"Default parameters are optimized with MASS::fitdistr function."
Expand Down
4 changes: 2 additions & 2 deletions R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ encoding_missing_data <- function(id, summary_per_patient = FALSE, ggtheme, data
class = "teal-tooltip",
tagList(
"Add **anyna** variable",
icon("info-circle"),
icon("circle-info"),
span(
class = "tooltiptext",
"Describes the number of observations with at least one missing value in any variable."
Expand All @@ -272,7 +272,7 @@ encoding_missing_data <- function(id, summary_per_patient = FALSE, ggtheme, data
class = "teal-tooltip",
tagList(
"Add summary per patients",
icon("info-circle"),
icon("circle-info"),
span(
class = "tooltiptext",
paste(
Expand Down
2 changes: 1 addition & 1 deletion R/tm_variable_browser.R
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ srv_variable_browser <- function(id, datasets, reporter, datasets_selected, ggpl
class = "teal-tooltip",
tagList(
"Outlier definition:",
icon("info-circle"),
icon("circle-info"),
span(
class = "tooltiptext",
paste(
Expand Down
6 changes: 3 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -239,16 +239,16 @@ variable_type_icons <- function(var_type) {
checkmate::assert_character(var_type, any.missing = FALSE)

class_to_icon <- list(
numeric = "sort-numeric-up",
integer = "sort-numeric-up",
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 = "question-circle"
unknown = "circle-question"
)
class_to_icon <- lapply(class_to_icon, function(icon_name) toString(icon(icon_name, lib = "font-awesome")))

Expand Down

0 comments on commit 7660363

Please sign in to comment.