tests/testFunctions/logTests.R

logTests <- function(class, mthd, note) {

  newPost <- data.frame(date = Sys.time(),
                        class = class,
                        method = mthd,
                        note = note)
  if (!exists("testLog")) {
    testLog <<- newPost
  } else {
    testLog <<- rbind(testLog, newPost)
  }
}
j2scode/nlpStudio documentation built on May 9, 2019, 12:54 p.m.