Skip to contents

Walks the @cellmap sub-slots for path strings and checks file existence. This function is called automatically (in quiet mode) when entering get.lm(), get.pbDE(), and get.plsD() so that broken caches are caught early.

Usage

tdr_cache_validate(.tdr.obj, .verbose = TRUE)

Arguments

.tdr.obj

A tinydenseR object.

.verbose

Logical; if TRUE, print a summary. Default TRUE.

Value

The (unmodified) .tdr.obj, invisibly. Stops with an error if any cached file is missing.

Details

Because the cache is ephemeral (stored under tempdir() and cleaned up at session end), heavyweight checksum verification is no longer performed. Only file existence and schema version are checked.