Skip to contents

Looks name up in the bundle's snapshot.json, reads it with readRDS(), and verifies the object against its gsm.core::fresh_digest(). CSV copies (e.g. "reportingResults.csv") are not in objects; they are read with the bundle's standard column types (GroupID character, SnapshotDate Date) without verification.

Usage

read_testdata_object(path, name)

Arguments

path

A bundle directory.

name

An object name such as "reportingResults", or a CSV file name such as "reportingResults.csv".

Value

The object.