From 1be4302aee0e89cabe5acac1256a19e112c3617f Mon Sep 17 00:00:00 2001 From: nfrerebeau Date: Tue, 12 Dec 2023 19:22:25 +0100 Subject: [PATCH] Small fix --- R/module_coda.R | 2 +- R/module_coda_summary.R | 4 ++-- man/module_header_server.Rd | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/R/module_coda.R b/R/module_coda.R index 69e016c..06f14ee 100644 --- a/R/module_coda.R +++ b/R/module_coda.R @@ -97,7 +97,7 @@ module_coda_server <- function(id, x) { req(x()) tryCatch({ - nexus::as_composition(from = x(), auto = FALSE) + nexus::as_composition(from = x(), auto = FALSE, verbose = get_option("verbose")) }, warning = function(w) { showNotification(ui = w, type = "warning") return(NULL) diff --git a/R/module_coda_summary.R b/R/module_coda_summary.R index 4991a1c..69c89a0 100644 --- a/R/module_coda_summary.R +++ b/R/module_coda_summary.R @@ -92,8 +92,8 @@ module_coda_summary_server <- function(id, x) { # }) plot_heatmap <- reactive({ - stats::heatmap(data_var(), distfun = as.dist, - hclustfun = function(x) hclust(x, method = "ward.D2"), + stats::heatmap(data_var(), distfun = stats::as.dist, + hclustfun = function(x) stats::hclust(x, method = "ward.D2"), symm = TRUE, scale = "none") grDevices::recordPlot() }) diff --git a/man/module_header_server.Rd b/man/module_header_server.Rd index 22af7ff..e9d97f2 100644 --- a/man/module_header_server.Rd +++ b/man/module_header_server.Rd @@ -4,14 +4,11 @@ \alias{module_header_server} \title{Header Server} \usage{ -module_header_server(id, x) +module_header_server(id) } \arguments{ \item{id}{An ID string that corresponds with the ID used to call the module's UI function.} - -\item{x}{A reactive \code{data.frame} (typically returned by -\code{\link[=module_import_server]{module_import_server()}}).} } \description{ Header Server