R/pre_processor_incubatortemp.R

Defines functions pre_processor_incubatortemp

Documented in pre_processor_incubatortemp

#' Preprocessor incubatortemp data
#'
#' Just copy from input to output
#'
#' @param input directory from which to read the data
#' @param output directory to which to write the data
#'
#' @return invisibly \code{TRUE} when completed successful
#'
#' @export

pre_processor_incubatortemp <- function(
  input,
  output
) {
  message("\n########################################################\n")
  message("\nProcessing incubatortemp...\n")
  ##
  dir.create(
    file.path(output, "incubatortemp"),
    recursive = TRUE,
    showWarnings = FALSE
  )
  file.copy(
    from = file.path(input, "incubatortemp", "."),
    to = file.path(output, "incubatortemp"),
    recursive = TRUE
  )
  ##
  message("done\n")
  message("\n########################################################\n")

  invisible(TRUE)
}
LEEF-UZH/LEEF.measurement.incubatortemp documentation built on Sept. 27, 2020, 6:40 p.m.