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 7, 2019, 8:58 p.m.