check_app_slug: Check the app slug before a build starts

View source: R/utils.R

check_app_slugR Documentation

Check the app slug before a build starts

Description

The build uses the slug only when it assembles the Electron app, after the conversion and any runtime download. Checking it right after resolve_app_slug() reports an invalid app.slug, or a name and directory that give no slug, before that work.

Usage

check_app_slug(slug)

Arguments

slug

The resolved slug, or NULL when none could be derived.

Value

Invisible TRUE; aborts otherwise.


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