Query the ipify service (https://www.ipify.org) to retrieve this machine's public IP address.
get_ip(max_tries = ipify.env$MAX_TRIES, ...)
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") |
The public IP address of this machine as a plain text string,