Learn R Programming

courieR (version 0.2.2)

parse_dispatch_log: Parse test log

Description

Parse test log

Usage

parse_dispatch_log(log_path)

Value

data.table

Arguments

log_path

Path to the log file

Examples

Run this code
tmp <- tempfile(fileext = ".log")
writeLines(c(
  "-- Failure (test-foo.R:1): addition works ----",
  "Expected 3, got 4."
), tmp)
parse_dispatch_log(tmp)
file.remove(tmp)

Run the code above in your browser using DataLab