set_censobr_cache_dir {censobr}R Documentation

Set custom cache directory for censobr files

Description

Set custom directory for caching files from the censobr package. If users want to set a custom cache directory, the function needs to be run again in each new R session.

Usage

set_censobr_cache_dir(path = NULL)

Arguments

path

String. The path to an existing directory. It defaults to path = NULL, to use the default directory

Value

A message indicating the directory where censobr files are cached.

See Also

Other Cache data: censobr_cache()

Examples


# Set custom cache directory
tempd <- tempdir()
set_censobr_cache_dir(path = tempd)

# back to default path
set_censobr_cache_dir(path = NULL)


[Package censobr version 0.3.2 Index]