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

Description Usage Arguments Value Examples

View source: R/filecache.R

Description

List files that are available locally in the package cache.

Usage

1
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

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

pkgfilecache documentation built on May 18, 2021, 1:06 a.m.