orderlyweb_remote | R Documentation |
Implements an orderly "remote" using OrderlyWeb as a backend. Use
this within an orderly_config.yml
configuration.
orderlyweb_remote(host, port, token, https = TRUE, prefix = NULL, name = NULL)
host |
Fully qualified hostname for the OrderlyWeb instance |
port |
Port to use |
token |
Your application token for authentication. The appropriate value here will depend on the authentication support that is built into the OrderlyWeb server that you are communicating with. Provide the token directly (as a string) or provide a callback function that takes no arguments and returns token. |
https |
Optional logical, indicating if this is an https
connection - this should be |
prefix |
A prefix, if your OrderlyWeb server is mounted at a path within some larger website. |
name |
A friendly name for the server (e.g, "production" or
"testing") which may be printed when using the remote, or when
authenticating. If not provided then a name will be constructed
from |
remote <- orderlyweb::orderlyweb_remote("example.com", 443, "mytoken") remote
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.