tests/testthat/helper-utils.R

expect_cli_warning <- function(object, index, result) {
  warns <- capture_messages(object)
  warn <- cli::ansi_strip(warns[index])
  warn <- sub("\n$", "", warn)
  expect_equal(warn, result)
}

Try the circularKDE package in your browser

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

circularKDE documentation built on Jan. 7, 2026, 9:06 a.m.