write_dev_update_config: Write 'dev-app-update.yml', pointing an unpackaged app at a...

View source: R/update-feed.R

write_dev_update_configR Documentation

Write dev-app-update.yml, pointing an unpackaged app at a local feed

Description

Replaces a file the package wrote earlier; stops on any other. The updater cache folder is ⁠<app_slug>-dev-updater⁠, not the ⁠<app_slug>-updater⁠ that an installed copy of the app uses, so a download tried in a development run never touches an update the installed copy has already downloaded.

Usage

write_dev_update_config(app_dir, url, app_slug)

Arguments

app_dir

App folder.

url

Address of the feed, such as "http://127.0.0.1:43210/".

app_slug

Name of the app's package.json, as a slug.

Value

The path written, invisibly.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.