tests/testthat/_snaps/ip_to_binary.md

binary encoding/decoding works

Code
  ip_to_binary("hello")
Condition
  Error in `ip_to_binary()`:
  ! `x` must be an <ip_address> vector
Code
  binary_to_ip(x)
Condition
  Error in `binary_to_ip()`:
  ! `x` must be a character vector


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.