We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The plumber package serves a REST API at a specific TCP port. By default, it picks a random port. To use a port4me-generated port, use:
pr_run(..., port = port4me::port4me("plumber"))
To make this the default port up-front, use:
options(plumber.port = port4me::port4me("plumber")) pr_run(...)
or
PLUMBER_PORT=$(port4me plumber) R
It is not possible to set the default such that port4me() is called when pr_run() is called.
port4me()
pr_run()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Plumber
The plumber package serves a REST API at a specific TCP port. By default, it picks a random port. To use a port4me-generated port, use:
To make this the default port up-front, use:
or
PLUMBER_PORT=$(port4me plumber) R
It is not possible to set the default such that
port4me()
is called whenpr_run()
is called.The text was updated successfully, but these errors were encountered: