Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Dec 12, 2023
1 parent 31b98d6 commit 1be4302
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/module_coda.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions R/module_coda_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down
5 changes: 1 addition & 4 deletions man/module_header_server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1be4302

Please sign in to comment.