R/httpget_session_warnings.R

Defines functions httpget_session_warnings

httpget_session_warnings <- function(filepath, requri){

  #load data
  myeval <- readRDS(file.path(filepath, ".REval"));
  mywarnings <- extract(myeval, "warning");
  mywarnings <- lapply(mywarnings, "[[", "message");

  #render
  reqformat <- requri[1];
  httpget_object(mywarnings, reqformat, "warnings", "text");
}
jeroen/opencpu documentation built on Nov. 18, 2018, 7:04 a.m.