tests/testthat/_snaps/ip_to_integer.md

integer encoding/decoding works

Code
  ip_to_integer("hello")
Condition
  Error in `ip_to_hex()`:
  ! `x` must be an <ip_address> vector
Code
  integer_to_ip(1, is_ipv6 = "true")
Condition
  Error in `hex_to_ip()`:
  ! `is_ipv6` must be a logical vector or NULL


Try the ipaddress package in your browser

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

ipaddress documentation built on June 22, 2024, 6:54 p.m.