Lists all dictionary .rds files stored in the user's config directory for canregtools.

ls_dict_files(full.names = FALSE, with_info = FALSE)

Arguments

full.names

Logical. Whether to return full file paths. Default is FALSE.

with_info

Logical. Whether to return file size and last modified time. Default is FALSE.

Value

A character vector of file names, or a tibble with file info if with_info = TRUE.

Examples

ls_dict_files()
#> [1] "registry_dict.rds"
ls_dict_files(full.names = TRUE)
#> [1] "/home/runner/.config/R/canregtools/registry_dict.rds"
ls_dict_files(with_info = TRUE)
#> # A tibble: 1 × 4
#>   file              size_kb modified            path                            
#>   <chr>               <dbl> <dttm>              <chr>                           
#> 1 registry_dict.rds     0.2 2025-07-07 08:16:32 /home/runner/.config/R/canregto…