metadata_text: Reduce a metadata setting to one line of text

View source: R/app-metadata.R

metadata_textR Documentation

Reduce a metadata setting to one line of text

Description

electron-builder writes the description, copyright, and author name into single-line fields such as the Windows file properties, so line breaks become spaces and surrounding whitespace is dropped.

Usage

metadata_text(x)

Arguments

x

Value to clean.

Value

A single string, or NULL when x is not a string or holds only whitespace.


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