list_available: List files that are available locally in the package cache.

View source: R/filecache.R

list_availableR Documentation

List files that are available locally in the package cache.

Description

List files that are available locally in the package cache.

Usage

list_available(pkg_info)

Arguments

pkg_info,

named list. Package identifier, see get_pkg_info() on how to get one.

Value

vector of strings. The file names available, relative to the package cache. The returned names may include a subdirectory part. The subdirectories are not listed separately.

Examples

    pkg_info = get_pkg_info("mypackage")
    available_files_in_cache = list_available(pkg_info)


dfsp-spirit/pkgfilecache documentation built on Feb. 6, 2024, 4:51 p.m.