Skip to contents

The .RData produced by rcicr::generateStimuli2IFC() stores a generator_version field. When a different rcicr version is used later to reconstruct CIs from that rdata, subtle numerical or API changes may produce wrong results silently. This check compares the generator version against the installed rcicr version and warns on mismatch.

Usage

check_version_compat(rdata, ...)

Arguments

rdata

Path to the 2IFC .RData file.

...

Unused.

Value

An rcdiag_result() object. data contains generator_version and installed_version.

Details

Only applicable to the 2IFC pipeline; Brief-RC does not use a generated .RData file.

Examples

if (FALSE) { # \dontrun{
check_version_compat("stimuli.RData")
} # }