R/details_parse_dir_with_msgs.R

Defines functions parse_dir_with_msgs

parse_dir_with_msgs<-function(x,y){
  start<-Sys.time()
  df<-details::parse_directory(x)
  end<-Sys.time()
  delta_t<-end-start
  cat("=================================================\n")
  cat("directory completed in ",delta_t," for Lot: ")
  message(y)
  if (is.null(df)){
  message("nothing to write home about")
    }else{
  details::write(df)
    }
  cat("\n")
}
JARS3N/details documentation built on April 26, 2020, 9:16 p.m.