Learn R Programming

drake (version 4.4.0)

type_of_cache: experimental function type_of_cache

Description

Try to get the type of a drake file system cache. Only works on known caches with known file systems.

Usage

type_of_cache(path = drake::default_cache_path())

Arguments

path

path to the cache

Details

Experimental function for a possible new feature in the future. It will come in handy if/when multiple cache types are supported.

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
type_of_cache(".drake")
# }

Run the code above in your browser using DataLab