tests/testthat/test-progress-signal-contract.R

test_that("native progress signal accepts scalar payloads safely", {
  library(np)
  expect_silent(.Call(
    "C_np_progress_signal",
    "bandwidth_activity_step",
    "bandwidth",
    1L,
    2L,
    PACKAGE = "np"
  ))
})

Try the np package in your browser

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

np documentation built on May 3, 2026, 1:07 a.m.