collect_log_files_info: Collects log file information in the melted/uncast/long form

Description Usage Arguments Value Examples

Description

Collects log file information in the melted/uncast/long form

Usage

1
collect_log_files_info(filenames, show_progress = FALSE)

Arguments

filenames

names of the parameter file

show_progress

show progress if TRUE

Value

A dataframe with all information of all log files

Examples

1
2
3
4
5
6
7
8
  filenames <- c(
   find_path("add_alignments_ok.log"),
   find_path("add_alignments_exceeded_memory.log")
 )
 df <- collect_log_files_info(filenames)
 testit::assert(names(df) == c("filename", "exit_status", "sys_time"))
 testit::assert(nrow(df) == length(filenames))
 testit::assert(df$exit_status[1] != df$exit_status[2])

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.