wj_cache_upgrade_index: Upgrade cache index schema

wj_cache_upgrade_indexR Documentation

Upgrade cache index schema

Description

Ensures the cache index contains required columns and correct types.

Usage

wj_cache_upgrade_index(
  cache_dir = NULL,
  cache_scope = c("user", "project"),
  pkg = "weatherjoin",
  verbose = TRUE
)

Arguments

cache_dir

Optional explicit cache directory.

cache_scope

Where to store cache by default: "user" or "project".

pkg

Package name used for "user" cache scope.

verbose

If TRUE, prints progress.

Value

The upgraded cache index.


weatherjoin documentation built on Feb. 4, 2026, 5:11 p.m.