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 Jan. 14, 2019, 2:10 a.m.