| start_update_feed | R Documentation |
Checks that the app folder holds no dev-app-update.yml of the author's
before anything is written or started, then writes the feed files to a new
temporary folder, starts the server on it, and writes dev-app-update.yml
pointing at the server. If a later step fails or is interrupted, the earlier
ones are undone.
start_update_feed(app_dir, version, app_slug)
app_dir |
App folder. |
version |
Version the feed offers, such as |
app_slug |
Name of the app's |
The result holds the server's process object, and a collected process
object ends the server, so keep the result referenced until
stop_update_feed() is called on it. Register that call with on.exit()
before starting the feed, with the variable set to NULL first, which
stop_update_feed() accepts:
feed <- NULL on.exit(stop_update_feed(feed), add = TRUE) feed <- start_update_feed(app_dir, version, app_slug)
A list with app_dir, dir (the feed folder) and server (from
start_update_feed_server()).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.