tests/testthat/test-obj.R

test_that("can take the address of the missing arg (#1521)", {
  fn <- function(x) obj_address(x)
  expect_true(is_string(fn()))
  expect_true(is_string(obj_address(missing_arg())))
})

Try the rlang package in your browser

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

rlang documentation built on April 6, 2026, 5:07 p.m.