create_app_cache_dir: Create a Cache Directory for an App

View source: R/path.R

create_app_cache_dirR Documentation

Create a Cache Directory for an App

Description

Create the default path expected by app_cache_dir().

Usage

create_app_cache_dir(appname)

Arguments

appname

Character; the name of the application that will "own" the cache, such as the name of a package.

Value

A normalized path to a cache directory. The directory is created if the user has write access and the directory does not exist.

Examples


# Executing this function creates a cache directory.
create_app_cache_dir("dlr")


macmillancontentscience/dlr documentation built on Sept. 24, 2022, 12:50 p.m.