app_metadata: Collect the app metadata settings

View source: R/app-metadata.R

app_metadataR Documentation

Collect the app metadata settings

Description

Reads app.description, app.author, app.homepage, and app.copyright for package.json and the About dialog, keeping only usable values: text is reduced to one line with metadata_text(), so blank text counts as unset, the author is normalized with normalize_app_author(), and a homepage must be an http or https URL (validate_config() rejects any other homepage).

Usage

app_metadata(config)

Arguments

config

List. The effective configuration.

Value

A list with description, author, homepage, and copyright entries, each NULL when unset.


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