tests/testthat/_snaps/misc.md

str works

Code
  str(set_units(1 / 1:3, m / s))
Output
   Units: [m/s] num [1:3] 1 0.5 0.333


Try the units package in your browser

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

units documentation built on Sept. 14, 2023, 1:06 a.m.