Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: teal.reporter
Title: Reporting Tools for 'shiny' Modules
Version: 0.5.0.9020
Version: 0.5.0.9040
Date: 2025-10-20
Authors@R: c(
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre"),
Expand Down
4 changes: 4 additions & 0 deletions R/LoadReporterModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ report_load_srv <- function(id, reporter) {
shiny::setBookmarkExclude(c("reporter_load_main", "reporter_load"))
ns <- session$ns

# Set max request size from package option
max_size <- getOption("teal.reporter.max_request_size", 10 * 1024^2)
options(shiny.maxRequestSize = max_size)

archiver_modal <- function() {
nr_cards <- length(reporter$get_cards())
shiny::div(
Expand Down
3 changes: 2 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
author = "NEST", title = "Report",
date = as.character(Sys.Date()), output = "html_document",
toc = FALSE
)
),
teal.reporter.max_request_size = 10 * 1024^2
)

toset <- !(names(teal_reporter_default_options) %in% names(op))
Expand Down
Loading