tests/testthat/test-sitrep.R

test_that("pprof_sitrep() and helpers", {
  expect_message(pprof_sitrep(), regexp = "go")
  expect_message(found_go_bin_path(), regexp = "Go binary")
  expect_message(found_go_bin_env(), regexp = "PROFFER_GO_BIN")
  expect_message(missing_go_bin_path(), regexp = "Go binary")
  expect_message(missing_go_bin_env(), regexp = "PROFFER_GO_BIN")
})

Try the proffer package in your browser

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

proffer documentation built on April 4, 2025, 1:58 a.m.