Description Usage Arguments Value See Also Examples
validate_range
checks whether
a vector of IPv4 CIDR ranges ("127.0.0.1/32") are valid or not.
1 | validate_range(ranges)
|
ranges |
a vector of IPv4 ranges |
a logical vector, where TRUE indicates that the provided entry is valid, and FALSE that it is not (or isn't an IP range at all)
ip_classify
for classifying
(and, incidentally, validating) IPv4 and IPv6 addresses, or
range_boundaries
for identifying the minimum
and maximum IPs within a range.
1 2 3 4 | validate_range("127.0.0.1/32")
#[1] TRUE
validate_range("127.0.0.1/33")
#[1] FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.