Version 0.7.0 would not install on FreeBSD.
The package gave compilation errors on some macOS platforms.
Add unit test asserting that a bound port is detected as such.
Remove unnecessary whitespace prefix from the CLI help output.
port4me()
would only verify that it was possible to listen to port. Now it also verifies that the port can be bound.
The command-line interface gave an error if special R option --args
was used as in Rscript -e port4me::port4me --args --list=5
.
Now port4me(list = n)
gives an error for n < 1
.
Rscript -e port4me::port4me
, Rscript -e port4me::port4me --list=5
, Rscript -e port4me::port4me --test=8087
.If argument prepend
was a numeric, but not an integer, then the return port, or ports, would also be numeric. Now port4me()
returns integer ports also when prepend
is numeric.
The R port4me::port4me()
function did not default to environment variable PORT4ME_LIST
, if argument list
was not specified.
The R port4me::port4me()
function did not default to environment variable PORT4ME_TEST
, if argument test
was not specified.
PORT4ME_EXCLUDE_UNSAFE
, which defaults to {chrome},{firefox}
. The token {chrome}
expands to the value of PORT4ME_EXCLUDE_UNSAFE_CHROME
, which defaults to the set of ports that are considered unsafe by the Chrome web browser and therefore also blocked by it. Similarly, {firefox}
expands to the value of PORT4ME_EXCLUDE_UNSAFE_FIXEFOX
, which defaults to the set of ports that are blocked by the Mozilla Firefox web browser.