Query the ipify service (https://www.ipify.org) to retrieve this machine's public IP address.

get_ip(max_tries = ipify.env$MAX_TRIES, ...)

Arguments

max_tries

The number of times to retry the ipify service on failure. Defaults to 3.

...

parameter = Format. What you want the service to return. Valid options = c("text", "json", "jsonp")

Value

The public IP address of this machine as a plain text string,