Expand description
Lossless, failure-tolerant access to R package DESCRIPTION files.
Description preserves the input exactly. Raw accessors never parse
semantic values; their typed counterparts report errors for only the field
declaration being inspected.
Structs§
- Collection
Entry - One valid collection entry, retaining its declaration and relative spans.
- Collection
Issue - One collection issue, retaining its declaration and relative spans.
- Collection
Result - Recovered semantic values merged from duplicate declarations.
- Description
- A lossless parsed R package
DESCRIPTIONdocument. - Description
Builder - Canonical single-record
DESCRIPTIONbuilder. - Field
- Typed valid DCF field.
- Field
Name - A validated, case-sensitive DCF field name.
- Format
Style - Formatting choices used by canonical builders.
- Invalid
Field Name - Error returned for a field name outside the portable R DCF grammar.
- Invalid
Logical Value - Error returned when logical text cannot be represented without ambiguity.
- Logical
Value - An owned logical value, with physical line endings excluded.
- Normalization
Diagnostic - One reason a DESCRIPTION document could not be normalized safely.
- Normalization
Error - Atomic whole-document normalization failure.
- Parse
- Persistent parse result owning only a Rowan green tree and shared diagnostics.
- Record
- Typed DCF record.
- Relation
- A case-sensitive package name and optional version requirement.
- Remote
- A parsed remote specification.
- Source
Span - A byte span in the UTF-8 source text.
- Syntax
Diagnostic - A parser diagnostic with a stable category and byte span.
- Url
- A parsed URL record.
- Validation
- Complete validation result in deterministic source/check order.
- Validation
Issue - A validation issue with stable identity and source location.
- Value
Text - Owned unfolded field text and the enclosing physical source range.
Enums§
- Collection
Edit Error - Failure to serialize or apply a typed collection edit.
- Edit
Error - Failure to apply a structured edit.
- Line
Ending - A physical line-ending convention.
- Severity
- Validation issue severity.
- Syntax
Diagnostic Kind - Stable category assigned to a parse diagnostic.