Shared engine for find_current_index_full() and
find_current_index_batch().
Usage
find_current_index(type = c("full", "batch"), days = 100)Details
Lists the bucket with list_gt_indices() and takes the newest
matching CSV, however old it is. If the listing is unavailable, falls back
to probing one URL per day for the last days days. A message reports the
index date when it is older than days, because the GTDC indices are not
always refreshed (the newest was 2024-12-23 as of October 2026).