tests/testthat/_snaps/s3-simpleUnit.md

simpleUnit

Code
  construct(grid::unit(c(1L, 1L, 1L), "cm"))
Output
  grid::unit(rep(1, 3L), units = "cm")
Code
  construct_base(grid::unit(c(1L, 1L, 1L), "cm"))
Output
  grid::unit(rep(1, 3L), units = "cm")
Code
  construct_dput(grid::unit(c(1L, 1L, 1L), "cm"))
Output
  rep(1, 3L) |>
    structure(unit = 1L, class = c("simpleUnit", "unit", "unit_v2"))


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.