construct_cached_file_path {dlr} | R Documentation |
Construct the full path to the cached version of a file within a particular app's cache, using the source path of the file to make sure the cache filename is unique.
construct_cached_file_path(source_path, appname, extension = "")
source_path |
Character scalar; the full path to the source file. |
appname |
Character; the name of the application that will "own" the cache, such as the name of a package. |
extension |
Character scalar; an optional filename extension. |
The full path to the processed version of source_path in the app's cache directory.
construct_cached_file_path(
source_path = "my/file.txt",
appname = "dlr",
extension = "rds"
)