iptools : A toolkit for manipulating, validating and testing IP addresses and ranges, along with datasets relating to IP addresses.
The package primarily supports IPv4 addresses due to deficiencies in R's support for large numbers, but there is IPv6 support for some functionality, and we plan to build more in as R improves and as we do. Functionality includes:
Converting IP addresses to their numeric form, and then back to strings, with ip_to_numeric and numeric_to_ip;
Validating and classifying IP addresses with ip_classify and other logical function tests;
Range generation and checking with range_boundaries, range_generate and validate_range, and;