Not a user-side function. Exported for infrastructure purposes only.

tar_random_port(lower = 49152L, upper = 65355L)

Arguments

lower

Integer of length 1, lowest possible port.

upper

Integer of length 1, highest possible port.

Value

A random port not likely to be used by another process.

Examples

tar_random_port()
#> [1] 54448