Skip to contents

Create a local cache directory for a package

Usage

pkgCacheDir(pkg)

Arguments

pkg

character(1). Package name.

Value

character(1). Directory path.

Details

Requires the tools package to be installed.

Note

Updated 2023-09-28.

See also

Examples

dir <- pkgCacheDir(pkg = "AcidBase")
print(dir)
#> [1] "/Users/mike/.cache/R/AcidBase"