tests/testthat/test-zzz.R

test_that("substitute() invocation of generic doesn't warn during transition", {
  x = as.integer64(1:10)
  expect_no_warning(
    expect_identical(
      eval(substitute(f(x, y), list(f=`:`, x=x[1L], y=x[10L]))),
      x
    )
  )
})

Try the bit64 package in your browser

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

bit64 documentation built on April 21, 2026, 9:06 a.m.