I know this has been addressed before (RStudio Connect + Rmarkdown: Maximum Upload Size Exceeded), but the issue was closed without a solution.
To reiterate - the GUI for interactive parameter input in Rmarkdown (Knit with Parameters) does not accept files bigger than 5 Mb. In Shiny it is clear that this can be solved by
options(shiny.maxRequestSize = ...). For pure Rmarkdown (no
runtime: shiny) this is still an issue. The option to use
text instead of
file input is not that good, because the idea of having a GUI is aimed at users that do not want to or can not type file paths.