validate_icon: Validate icon file for target platform

View source: R/validate.R

validate_iconR Documentation

Validate icon file for target platform

Description

Checks that the icon file exists and that each target platform can use it, for its format and for the size of its image (see icon_platforms()). A platform that cannot gets the default Electron icon, so this warns rather than errors and the build continues.

Usage

validate_icon(icon, platform = NULL)

Arguments

icon

Character path to icon file.

platform

Character vector of target platforms.


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