Lists all models that have been downloaded to the local cache.
Usage
list_cached_models(data_type = NULL, verbose = TRUE)
Arguments
- data_type
Filter by data type (NULL for any)
- verbose
Logical, whether to print detailed information
Value
Character vector of available model names
Examples
# \donttest{
local({
old <- options(leafwax.cache_dir = file.path(tempdir(), "leafwax_cache"))
on.exit(options(old))
# List all cached models
models <- list_cached_models(verbose = FALSE)
# List models with full data
models_full <- list_cached_models(data_type = "full", verbose = FALSE)
})
# }