tests/testthat/_snaps/operators.md

bitwise shift works

Code
  ip_address("192.168.0.1") %<<% -1L
Condition
  Error in `ip_address("192.168.0.1") %<<% -1L`:
  ! `n` must be positive
Code
  ip_address("192.168.0.1") %>>% -1L
Condition
  Error in `ip_address("192.168.0.1") %>>% -1L`:
  ! `n` must be positive


Try the ipaddress package in your browser

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

ipaddress documentation built on April 4, 2023, 9:09 a.m.