Package: IP 0.1.4

IP: Classes and Methods for 'IP' Addresses

Provides S4 classes for Internet Protocol (IP) versions 4 and 6 addresses and efficient methods for 'IP' addresses comparison, arithmetic, bit manipulation and lookup. Both 'IPv4' and 'IPv6' arbitrary ranges are also supported as well as internationalized (IDN) domain lookup with and 'whois' query.

Authors:Thomas Soubiran [aut, cre]

IP_0.1.4.tar.gz
IP_0.1.4.zip(r-4.5)IP_0.1.4.zip(r-4.4)IP_0.1.4.zip(r-4.3)
IP_0.1.4.tgz(r-4.4-x86_64)IP_0.1.4.tgz(r-4.4-arm64)IP_0.1.4.tgz(r-4.3-x86_64)IP_0.1.4.tgz(r-4.3-arm64)
IP_0.1.4.tar.gz(r-4.5-noble)IP_0.1.4.tar.gz(r-4.4-noble)
IP_0.1.4.tgz(r-4.4-emscripten)IP_0.1.4.tgz(r-4.3-emscripten)
IP.pdf |IP.html
IP/json (API)

# Install 'IP' in R:
install.packages('IP', repos = c('https://tsoubiran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.89 score 13 scripts 323 downloads 101 exports 1 dependencies

Last updated 1 months agofrom:67bc21f192. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-win-x86_64OKNov 20 2024
R-4.5-linux-x86_64OKNov 20 2024
R-4.4-win-x86_64OKNov 20 2024
R-4.4-mac-x86_64OKNov 20 2024
R-4.4-mac-aarch64OKNov 20 2024
R-4.3-win-x86_64OKNov 20 2024
R-4.3-mac-x86_64OKNov 20 2024
R-4.3-mac-aarch64OKNov 20 2024

Exports:%<<%%>>%Arithas.data.frame.IPas.data.frame.IPras.data.frame.IPv4as.data.frame.IPv4ras.data.frame.IPv6as.data.frame.IPv6rc.IPc.IPrc.IPv4c.IPv4rc.IPv6c.IPv6rcoerceCompareformat.hostformat.IPformat.IPrformat.IPv4format.IPv4rformat.IPv6format.IPv6rfqdnfromIdnagetIdxhihosthost.infoipip.capabilitiesip.indexip.intersectip.matchip.orderip.rangeip.setdiffip.setequalip.symdiffip.unionip.versionip.xoripripv4ipv4.addr.spaceipv4.hostmaskipv4.netmaskipv4.recoveredipv4.reservedipv4.riripv4ripv6ipv6.addr.spaceipv6.hostmaskipv6.netmaskipv6.reservedipv6.riripv6.unicastipv6ris.fqdnlolocalhost.ipLogicmatchnames.hostnames.IPnames.IPrnames.IPv4names.IPv4rnames.IPv6names.IPv6rnames<-.IPrnames<-.IPv4names<-.IPv4rnames<-.IPv6names<-.IPv6rprintrbind2rep.IPrep.IPrrep.IPv4rep.IPv4rrep.IPv6rep.IPv6rrir.namesshowtoIdnatoString.hosttoString.IPtoString.IPrtoString.IPv4toString.IPv4rtoString.IPv6toString.IPv6runique.IPunique.IPv4unique.IPv4runique.IPv6unique.IPv6rwhois

Dependencies:stringi

Domain Name Lookup with the IP Package

Rendered fromip-host.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2023-09-01
Started: 2021-11-03

Introduction to the IP Package

Rendered fromip-intro.Rmdusingknitr::knitron Nov 20 2024.

Last update: 2023-09-01
Started: 2021-11-03

Readme and manuals

Help Manual

Help pageTopics
Classes and methods for IP addressesIP-package IP
Methods for IP arithmetic+ +,IPv4,integer-method +,IPv4,IPv4-method +,IPv4,logical-method +,IPv4,numeric-method +,IPv4r,integer-method +,IPv6,integer-method +,IPv6,IPv6-method +,IPv6,logical-method +,IPv6,numeric-method +-method - -,IPv4,integer-method -,IPv4,IPv4-method -,IPv4,missing-method -,IPv4,numeric-method -,IPv6,integer-method -,IPv6,IPv6-method -,IPv6,missing-method -,IPv6,numeric-method --method Arith,IP,.__intFP__.-method Arith,IP,IP-method Arith,IP,missing-method Arith-methods
Bitwise operations! !,IPv4-method !,IPv6-method !-method %<<% %<<%,IPv4,integer-method %<<%,IPv6,integer-method %<<%-method %>>% %>>%,IPv4,integer-method %>>%,IPv6,integer-method %>>%-method & &,IP,IP-method &,IPv4,IPv4-method &,IPv6,IPv6-method &-method ip.xor ip.xor,IP,IP-method ip.xor,IPv4,IPv4-method ip.xor,IPv6,IPv6-method ip.xor-methods ipv4.hostmask ipv4.netmask ipv6.hostmask ipv6.netmask Logic,IP,IP-method Logic-methods ^ ^,IP,IP-method ^,IPv4,IPv4-method ^,IPv6,IPv6-method ^-methods | |,IP,IP-method |,IPv4,IPv4-method |,IPv6,IPv6-method |-method
Methods for IP Comparison!= !=,IPv4,IPv4-method !=,IPv4r,IPv4r-method !=,IPv6,IPv6-method !=,IPv6r,IPv6r-method !=-method < <,IPv4,IPv4-method <,IPv4r,IPv4r-method <,IPv6,IPv6-method <,IPv6r,IPv6r-method <-method <= <=,IPv4,IPv4-method <=,IPv4r,IPv4r-method <=,IPv6,IPv6-method <=,IPv6r,IPv6r-method <=-method == ==,IPv4,IPv4-method ==,IPv4r,IPv4r-method ==,IPv6,IPv6-method ==,IPv6r,IPv6r-method ==-method > >,IPv4,IPv4-method >,IPv4r,IPv4r-method >,IPv6,IPv6-method >,IPv6r,IPv6r-method >-method >= >=,IPv4,IPv4-method >=,IPv4r,IPv4r-method >=,IPv6,IPv6-method >=,IPv6r,IPv6r-method >=-method Compare,IP,IP-method Compare,IPr,IPr-method Compare-methods
Methods for converting IP objects to other representationsas.character as.character,host-method as.character,IP-method as.character,IPr-method as.character,IPv4-method as.character,IPv4r-method as.character,IPv6-method as.character,IPv6r-method as.character-methods as.integer as.integer,IPv4-method as.integer,IPv4r-method as.integer,IPv6-method as.integer,IPv6r-method as.integer-methods as.numeric as.numeric,IP-method as.numeric,IPv4-method as.numeric,IPv4r-method as.numeric,IPv6-method as.numeric,IPv6r-method as.numeric-methods as.vector as.vector,.__IPvr__.-method as.vector-methods coerce coerce,IPv4,character-method coerce,IPv6,character-method coerce-methods format format.host format.IP format.IPr format.IPv4 format.IPv4r format.IPv6 format.IPv6r toString toString.host toString.IP toString.IPr toString.IPv4 toString.IPv4r toString.IPv6 toString.IPv6r
host-infofqdn fromIdna host host,character-method host,IP-method host,IPv4-method host,IPv6-method host-class host-methods host.info host.info,host-method host.info,IP-method host.info,IPv4-method host.info,IPv6-method host.info-methods idn ipv4,host-method ipv4.addr.space ipv4.recovered ipv4.reserved ipv4.rir ipv6,host-method ipv6.addr.space ipv6.reserved ipv6.rir ipv6.unicast is.fqdn localhost.ip names.host rir.names show,host-method toIdna whois
Report Capabilities of this Build of the IP Packageip.capabilities
IPv4, IPv6 and IP classesas.data.frame-method as.data.frame.IP as.data.frame.IPv4 as.data.frame.IPv6 c.IP c.IPv4 c.IPv6 ip ip,character,missing-method ip,character-method ip,host,missing-method ip,integer,missing-method ip,IPr,missing-method ip,IPv4,IPv6-method ip,IPv4,missing-method ip,IPv6,missing-method ip,list,missing-method ip,list-method ip,logical,missing-method ip,missing,missing-method IP-class ip-method ip.version ip.version,IP-method ip.version,IPv4-method ip.version-methods ipv4 ipv4,character-method ipv4,integer-method ipv4,IP-method ipv4,logical-method ipv4,missing-method IPv4-class ipv4-method ipv6 ipv6,character-method ipv6,integer-method ipv6,IP-method ipv6,logical-method ipv6,missing-method IPv6-class ipv6-method is.numeric,IP-method is.numeric,IPv4-method is.numeric,IPv6-method is.numeric-method names.IP names.IPv4 names.IPv6 names<-.IP names<-.IPv4 names<-.IPv6 print,IP-method print,IPv4-method print,IPv6-method print-methods rbind2,IP,IP-method rbind2,IPv4,IPv4-method rbind2,IPv6,IPv6-method rbind2-method rep.IP rep.IPv4 rep.IPv6 show,IP-method show,IPv4-method show,IPv6-method show-methods [,IP,.__subscript__.-method [,IPv4,.__subscript__.-method [,IPv6,.__subscript__.-method [-method [<-,IP,.__subscript__.,ANY,ANY-method [<-,IP,.__subscript__.,ANY,IP-method [<-,IP,.__subscript__.,ANY,IPv4-method [<-,IP,.__subscript__.,ANY,IPv6-method [<-,IP,.__subscript__.,ANY,logical-method [<-,IP,.__subscript__.-method [<-,IP,ANY,ANY,ANY-method [<-,IPv4,.__subscript__.-method [<-,IPv4,ANY,ANY,ANY-method [<-,IPv6,.__subscript__.-method [<-,IPv6,ANY,ANY,ANY-method [<--method [[,.__IPvr__.,.__subscript__.-method [[-method
IPv4, IPv6 and IP ranges classesas.data.frame.IPr as.data.frame.IPv4r as.data.frame.IPv6r c.IPr c.IPv4r c.IPv6r hi hi,IPr-method hi,IPv4r-method hi,IPv6r-method ip,IPr-method ip.range ip.range,IPv4r-method ip.range,IPv6r-method ip.range-methods ip.version,IPr-method ipr ipr,character,.__intFP__.-method ipr,character,character-method ipr,character,missing-method ipr,IP,.__intFP__.-method ipr,IP,IP-method ipr,IPv4r,IPv6r-method ipr,IPv4r,missing-method ipr,IPv6r,missing-method ipr,list,missing-method ipr,logical,missing-method ipr,missing,missing-method IPr-class ipr-method ipv4,IPv4r-method ipv4r ipv4r,character,.__intFP__.-method ipv4r,character,character-method ipv4r,character,missing-method ipv4r,IPr,missing-method ipv4r,IPv4,.__intFP__.-method ipv4r,IPv4,IPv4-method ipv4r,list,missing-method ipv4r,logical,missing-method ipv4r,missing,missing-method IPv4r-class ipv4r-method ipv6,IPv6r-method ipv6r ipv6r,character,.__intFP__.-method ipv6r,character,character-method ipv6r,character,missing-method ipv6r,IPr,missing-method ipv6r,IPv6,.__intFP__.-method ipv6r,IPv6,IPv6-method ipv6r,list,missing-method ipv6r,logical,missing-method ipv6r,missing,missing-method IPv6r-class ipv6r-method is.numeric,IPr-method is.numeric,IPv4r-method is.numeric,IPv6r-method lo lo,IPr-method lo,IPv4r-method lo,IPv6r-method names-method names.IPr names.IPv4r names.IPv6r names<--method names<-.IPr names<-.IPv4r names<-.IPv6r print,IPr-method print,IPv4r-method print,IPv6r-method rbind2,IPr,IPr-method rbind2,IPv4r,IPv4r-method rbind2,IPv6r,IPv6r-method rep.IPr rep.IPv4r rep.IPv6r seq.IPv4r seq.IPv6r show,IPr-method show,IPv4r-method show,IPv6r-method [,.__IPvr__.,character-method [,.__IPvr__.,missing-method [,IPr,.__subscript__.-method [,IPv4r,.__subscript__.-method [,IPv4r,ANY-method [,IPv6r,.__subscript__.-method [<-,IPr,.__subscript__.,ANY,IPr-method [<-,IPr,.__subscript__.,ANY,IPv4r-method [<-,IPr,.__subscript__.,ANY,IPv6r-method [<-,IPr,.__subscript__.,ANY,logical-method [<-,IPr,ANY,ANY,ANY-method [<-,IPv4r,.__subscript__.-method [<-,IPv4r,ANY,ANY,ANY-method [<-,IPv6r,.__subscript__.-method [<-,IPv6r,ANY,ANY,ANY-method
Miscellaneous methods and functions for IP classesanyNA anyNA,.__ipvr__.-method anyNA,IPv4-method anyNA,IPv4r-method anyNA,IPv6-method anyNA,IPv6r-method getIdx ip.index ip.index,IPv4r-method ip.index,IPv6r-method ip.index-method ip.intersect ip.intersect,.__IPvr__.,.__IPvr__.-method ip.intersect-method ip.match ip.match,IPv4,IPv4-method ip.match,IPv4,IPv4r-method ip.match,IPv4r,IPv4r-method ip.match,IPv6,IPv6-method ip.match,IPv6,IPv6r-method ip.match,IPv6r,IPv6r-method ip.match-method ip.order ip.order,IPv4-method ip.order,IPv4r-method ip.order,IPv6-method ip.order,IPv6r-method ip.order-method ip.setdiff ip.setdiff,.__IPvr__.,.__IPvr__.-method ip.setdiff-method ip.setequal ip.setequal,.__IPvr__.,.__IPvr__.-method ip.setequal-method ip.symdiff ip.symdiff,.__IPvr__.,.__IPvr__.-method ip.symdiff-method ip.union ip.union,.__IPvr__.,.__IPvr__.-method ip.union-method is.na is.na,IPv4-method is.na,IPv4r-method is.na,IPv6-method is.na,IPv6r-method length length,IPv4-method length,IPv4r-method length,IPv6-method length,IPv6r-method match match,IPv4,IPv4-method match,IPv4,IPv4r-method match,IPv4r,IPv4r-method match,IPv6,IPv6-method match,IPv6,IPv6r-method match,IPv6r,IPv6r-method match-methods unique unique.IP unique.IPv4 unique.IPv4r unique.IPv6 unique.IPv6r xtfrm xtfrm,IPv4-method xtfrm,IPv4r-method xtfrm,IPv6-method xtfrm,IPv6r-method xtfrm-methods