Description Usage Arguments Details Examples
Use this to log into RT at the start of your session. Once you call this function and successfully log in, calls of other functions within this package will re-use your login information automatically.
1 2 3 4 5 | rt_login(
user = Sys.getenv("RT_USER"),
password = Sys.getenv("RT_PASSWORD"),
...
)
|
user |
(character) Your username. |
password |
(character) Your password. |
... |
Other arguments passed to |
The value of rt_base_url
should be the same address you use in your
web browser to log into RT (i.e., the address of the log in page).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# You can setup the location of your RT installation and the values for
# your credentials as environmental variables
Sys.setenv("RT_USER" = "user",
"RT_PASSWORD" = "password",
"RT_BASE_URL" = "https://demo.bestpractical.com")
# And then log in directly like
rt_login()
# Or if you prefer, you can pass the values directly, like
rt_login("user", "password", "https://demo.bestpractical.com")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.