tests/testthat/_snaps/repair_attributes.md

structure corner cases

Code
  construct(a)
Output
  c(name2 = 1) |>
    structure(levels = "label2") |>
    (`attr<-`)(".Names", "name1") |>
    (`attr<-`)(".Label", "label1")


Try the constructive package in your browser

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

constructive documentation built on April 3, 2025, 9:39 p.m.