Learn R Programming

nprcgenekeepr (version 2.0.0)

getAutoIdFormat: 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()

Arguments

Value

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

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.

See Also

setAutoIdFormat, addUIds

Examples

Run this code
getAutoIdFormat()

Run the code above in your browser using DataLab