tests/testthat/_snaps/diff-time.md

snaps

Code
  diff_time(x, y)
Output
  Time differences in seconds
  [1] 8640000
Code
  diff_time_days(x, y)
Output
  Time differences in days
  [1] 100
Code
  diff_time_dyears(x, y)
Output
  Time differences in years (365 days)
  [1] 0.2739726
Code
  diff_time_hours(x, y)
Output
  Time differences in hours
  [1] 2400
Code
  diff_time_mins(x, y)
Output
  Time differences in minutes
  [1] 144000
Code
  diff_time_months(x, y)
Output
  Time differences in months (30 days)
  [1] 3.333333
Code
  diff_time_myears(x, y)
Output
  Time differences in years (30-day months)
  [1] 0.2777778
Code
  diff_time_secs(x, y)
Output
  Time differences in seconds
  [1] 8640000
Code
  diff_time_weeks(x, y)
Output
  Time differences in weeks
  [1] 14.28571
Code
  diff_time_wyears(x, y)
Output
  Time differences in years (52 weeks)
  [1] 0.2747253
Code
  diff_time_years(x, y)
Output
  Time differences in years (365 days)
  [1] 0.2739726


Try the mark package in your browser

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

mark documentation built on May 29, 2024, 5:13 a.m.