R/windows_helper.R

Defines functions windows_helper

Documented in windows_helper

#' A helper function to make shiny work on Windoes computers
#'
#'
#' \code{windows_helper} is an internal function
#' 
#' @param input input from shiny
#' @param FUN # function to run
#' @export
windows_helper <- function(
  FUN, input
){
do.call(FUN, input)
  #return(input)
}

# FUN <- eval(noquote("plot(density(rnorm(100,0,1)))"))
# do.call(rnorm, args=list(mean=0, n=10, 1))
# windows_helper(classify, windows_input)
mikeyEcology/MLWIC2 documentation built on Feb. 18, 2021, 11:46 a.m.