is_dev_update_config_ours: Is a 'dev-app-update.yml' one the package wrote?

View source: R/update-feed.R

is_dev_update_config_oursR Documentation

Is a dev-app-update.yml one the package wrote?

Description

True only when the file's first line is exactly the marker. A carriage return is accepted only directly before the line feed that ends the line, since a file written on Windows may come back with CRLF. Anything else (trailing spaces, a carriage return with no line feed after it, the marker on a later line, an empty or unreadable file, a folder, a symbolic link) is the author's.

Usage

is_dev_update_config_ours(path)

Arguments

path

Path to the file.

Value

TRUE or FALSE.


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