tests/testthat/test-log_functions.R

test_that("parse_log_filename works correctly", {
  result <- parse_log_filename("../../shinyproxy/shinyproxy/container-logs/logs/crash_simulator_43c8bf13-051f-4fe9-8362-a6b83016a218_05_Feb_2025_18_30_53_stderr.log")
  expect_equal(result$specId, "crash_simulator")
  expect_equal(result$logType, "stderr")
})

Try the shinyproxyLogs package in your browser

Any scripts or data that you put into this service are public.

shinyproxyLogs documentation built on April 12, 2025, 1:48 a.m.