# NOT RUN {
# these examples show the reserved networks
is_multicast(ip_network(c("224.0.0.0/4", "ff00::/8")))
is_unspecified(ip_network(c("0.0.0.0/32", "::/128")))
is_loopback(ip_network(c("127.0.0.0/8", "::1/128")))
is_link_local(ip_network(c("169.254.0.0/16", "fe80::/10")))
# }
Run the code above in your browser using DataLab