tests/testthat/test-dot_deident.R

test_that("BaseDotDeident works", {
  bdd <- BaseDotDeident$new()
  
  .f <- function(...){
    enquos(...)
  }

  quo <- .f(x, y, z)
  
  .serialize <- bdd$serialize(quo)
  
  expect_equal(
    length(.serialize$args), 
    3
  )
  
})

Try the deident package in your browser

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

deident documentation built on April 3, 2025, 6:14 p.m.