It can use a DNS query to opendns.com, if method == "dns", or
an HTTPS query to icanhazip.com, see https://github.com/major/icanhaz.
The DNS query is much faster, the HTTPS query is secure.
my_ip(method = c("dns", "https"))Computer's public IP address as a string.
my_ip()
#> [1] "3.145.237.107"
my_ip(method = "https")
#> [1] "3.145.237.107"