dot-createDirectoryForCache: Create directories for cache

.createDirectoryForCacheR Documentation

Create directories for cache

Description

Create directories for cache

Usage

.createDirectoryForCache(baseDir, parentPath)

Arguments

baseDir

tentative base dir to create.

parentPath

first 4 characters of digest that will become parent directory for the actual cache file (this reduces number of files per folder)

Value

a list of updated baseDir and parentDir

Examples

glmSparseNet:::.createDirectoryForCache(tempdir(), "abcd")

glmSparseNet:::.createDirectoryForCache(
    file.path(getwd(), "run-cache"), "abcd"
)


sysbiomed/glmSparseNet documentation built on Feb. 17, 2024, 1:38 p.m.