Skip to content

Commit

Permalink
diregarded forest plots as too heavy
Browse files Browse the repository at this point in the history
gaelso committed Nov 21, 2024
1 parent 50ab3d6 commit 92a1980
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/mod_tool_UI.R
Original file line number Diff line number Diff line change
@@ -260,10 +260,10 @@ mod_tool_UI <- function(id, i18n){
outputId = ns("dl_sim_trans"),
label = "Download all the land use transition simulations", class = "btn-outline-warning btn-small form-group"
),
downloadButton(
outputId = ns("dl_fp"),
label = "Download all the forest plots", class = "btn-outline-primary btn-small form-group"
)
# downloadButton(
# outputId = ns("dl_fp"),
# label = "Download all the forest plots", class = "btn-outline-primary btn-small form-group"
# )
)
)

8 changes: 4 additions & 4 deletions R/mod_tool_server.R
Original file line number Diff line number Diff line change
@@ -491,10 +491,10 @@ mod_tool_server <- function(id, rv) {
content = function(file){write.csv(rv$mcs$sim_trans, file)}
)

output$dl_fp <- downloadHandler(
filename = function(){"mocaredd - all forest plots for reporting"},
content = function(file){write.csv(rv$checks$ari_res$ER, file)}
)
# output$dl_fp <- downloadHandler(
# filename = function(){"mocaredd - all forest plots for reporting"},
# content = function(file){write.csv(rv$checks$ari_res$ER, file)}
# )

## ++ Forest plots ---------------------------------------------------------
output$res_trans_fp <- gt::render_gt({

0 comments on commit 92a1980

Please sign in to comment.