tar_random_port: Random TCP port

Description Usage Arguments Value Examples

View source: R/utils_url.R

Description

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

Usage

1
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

1

targets documentation built on July 21, 2021, 5:07 p.m.