inst/ex_fun/sb_fun_demo_app_python.R

wrapper_py <- function(vect) {
  require(reticulate)
  
  env <- py_run_file(system.file("/ex_fun/sb_fun_demo_app_python.py", package = "shinybatch")) ;
  env$apply_regexprs(vect = vect,
                     regexprs = reticulate::dict(list("input" = "output")))
}
datastorm-open/shinybatch documentation built on Oct. 3, 2023, 10:04 a.m.