tests/testthat/_snaps/nice_reverse.md

nice_reverse

Code
  nice_reverse(5, 5)
Output
  [1] 1
Code
  nice_reverse(1:5, 5)
Output
  [1] 5 4 3 2 1
Code
  nice_reverse(1:4, 4, min = 0)
Output
  [1] 3 2 1 0
Code
  nice_reverse(-3:3, 3, min = -3)
Output
  [1]  3  2  1  0 -1 -2 -3


Try the rempsyc package in your browser

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

rempsyc documentation built on July 3, 2024, 5:08 p.m.