library(tidyverse) here <- rprojroot::is_git_root$find_file # build/debug/test/unittest -d yes 2>&1 > timings.txt timings <- readLines(here("timings.txt")) timings timings_df <- rematch2::re_match(timings, "^.*(?