mergeShownCacheCloud: Fold cloud cache metadata into a local 'showCache' result for...

View source: R/cache-repo.R

mergeShownCacheCloudR Documentation

Fold cloud cache metadata into a local showCache result for showSimilar

Description

Restricts the cloud-sourced metadata (from showCacheCloud()) to the same function as the current call, then rbinds it onto the local shownCache, de-duplicating on cacheId/tagKey/tagValue. Pure (no I/O) so the merge behaviour can be tested without Google Drive.

Usage

mergeShownCacheCloud(shownCache, cloudShown, .functionName = NULL)

Arguments

shownCache

The local showCache() data.table.

cloudShown

The cloud metadata data.table from showCacheCloud().

.functionName

The function name to keep from cloudShown (or NULL for all).

Value

A combined cache data.table.


reproducible documentation built on Aug. 26, 2026, 1:07 a.m.