Skip to main content

Crate r_metadata

Crate r_metadata 

Source
Expand description

Semantic values used in R package metadata.

Collection parsers in this crate recover at delimiters: malformed entries are reported as positioned issues without discarding valid neighbours.

Structs§

AdditionalRepositories
Recovered Additional_repositories value, where only commas delimit entries.
BioconductorCredentials
Bioconductor credentials. Debug output always redacts both fields.
BioconductorRemote
Bioconductor remote data.
CranRemote
CRAN remote data.
GenericGitRemote
Generic Git remote data. Debug output redacts recognized credentials.
HostedGitRemote
Hosted Git remote data.
InvalidRelationPackage
Error constructing a relation from an ambiguous package name.
LocalRemote
Local remote data.
Logical
An R logical value accepted by DESCRIPTION fields.
LogicalParseError
Error parsing a logical value.
OsTypeParseError
Error parsing OS_type.
PositionedRelationParseError
A relation error and its precise input span.
PositionedRemoteParseError
A safe remote parse reason and its relative byte span.
PositionedUrlParseError
A URL issue paired with its byte span.
PriorityParseError
Error parsing package priority.
Relation
A case-sensitive package name and optional version requirement.
RelationList
Recovered result of parsing a comma-separated relation list.
Remote
A parsed remote specification.
RemoteList
Recovered comma-separated remote collection.
Revision
An R source-control revision such as r56550.
Span
A half-open UTF-8 byte span into parser input.
Spanned
A semantic value and its half-open byte span in the parsed collection.
SvnRemote
Subversion remote data. Debug output redacts URL credentials.
UnknownRemote
Unknown explicit remote data.
Url
A parsed URL record.
UrlList
Recovered URL field value, where commas or whitespace delimit entries.
UrlRemote
Typed URL remote data. Debug output redacts URL credentials.
Version
A numeric R package version that retains its original spelling.

Enums§

OsType
Operating-system restriction from OS_type.
Priority
Standard R package priority.
RelationParseError
A relation syntax error.
RemoteParseError
A remote parse reason. Variants never retain the remote source text.
RemoteSource
Supported remote source forms.
RequirementVersion
The right-hand operand of a version requirement.
RequirementVersionParseError
Error parsing a numeric version or an R source revision.
RevisionParseError
Error parsing an R source revision.
UrlParseError
A URL collection syntax error.
VersionParseError
Error parsing a numeric R package version.
VersionRequirement
A package version constraint.

Type Aliases§

SpannedUrl
A URL and the span of its source entry.