Skip to content
Snippets Groups Projects
Unverified Commit 9119776a authored by Todor Kondic's avatar Todor Kondic
Browse files

Update arguments to app

parent 3a5278e5
No related branches found
Tags v0.9.6
No related merge requests found
Package: shinyscreen
Title: Pre-screening of Mass Spectrometry Data
Version: 0.9.5
Version: 0.9.6
Author: Todor Kondić
Maintainer: Todor Kondić <todor.kondic@uni.lu>
Authors@R:
......
......@@ -687,9 +687,9 @@ report <- function(m) {
#' @export
app <- function() {
app <- function(shiny_args=NULL,render_args=NULL) {
unlink(list.files(pattern = "app_run.*html$"))
unlink(list.files(pattern = "app_run.*Rmd$"))
file.copy(system.file(file.path("rmd","app.Rmd"),package = "shinyscreen"),"app_run.Rmd")
rmarkdown::run(file = "app_run.Rmd")
rmarkdown::run(file = "app_run.Rmd", shiny_args = shiny_args, render_args = render_args)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment