getAutoIdFormat: Get the auto-generated unknown-ID format

View source: R/autoIdFormat.R

getAutoIdFormatR Documentation

Get the auto-generated unknown-ID format

Description

Returns the sprintf template used to mint placeholder IDs for unknown parents (see addUIds) and to detect them. The format is the single source of truth shared by ID generation and ID detection.

Usage

getAutoIdFormat()

Details

The value is read from getOption("nprcgenekeepr.autoIdFormat"), defaulting to "U%04d" (a leading "U" plus a zero-padded integer) for backward compatibility. Set it with setAutoIdFormat.

Value

A single character string: the auto-ID sprintf format.

See Also

setAutoIdFormat, addUIds

Examples

getAutoIdFormat()

nprcgenekeepr documentation built on July 26, 2026, 5:06 p.m.