tests/testthat/test-read-parallel-results.R

test_that("read_parallel_results reads seq", {
  results <- read_parallel_results("data/10")

  expect_equal(nrow(results), 10)
  expect_equal(sort(results$seq), 1:10)
  expect_true(all(c("path", "stdout", "stderr", "stdout_error", "stderr_error") %in% colnames(results)))
})
PRL-PRG/runr documentation built on Oct. 13, 2022, 8:08 a.m.