list_available {pkgfilecache}R 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)


[Package pkgfilecache version 0.1.5 Index]