DRDataRaft/ docs
GitHub ↗

dr_source_rds()

Use the version returned by the publication result to reproduce a delivery. With version = NULL, the latest committed version is resolved when reading. A checksum detects changed data files before deserialization. Read only trusted RDS directories: checksums detect accidental changes, not malicious replacement.

Usage

dr_source_rds(path, version = NULL)

Arguments

path
Directory created by dr_target_rds().


version
Version identifier from result$outputs$version, or NULL.

Value

A source for dataraft.core::dr_add_source().

Examples

dr_source_rds(tempfile("releases-"), version = "v000000000001")
Documentation source snapshot · View source at 2f9432d ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.