normalize_app_author: Normalize the app author

View source: R/app-metadata.R

normalize_app_authorR Documentation

Normalize the app author

Description

app.author takes either form npm uses for a person: a string "Name <email> (url)", where each part is optional, or a map with name, email, and url entries. Both become the same list, which fills the author field of package.json and the About dialog. The string is split the way npm and electron-builder split it.

Usage

normalize_app_author(x)

Arguments

x

The app.author setting.

Value

A list with name, email, and url entries, each a string or NULL, or NULL when x is unset or blank. Any other shape warns and returns NULL.


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