Learn R Programming

gooseR (version 0.1.2)

goose_cache_init: Initialize Cache Database

Description

Create or connect to the cache database

Usage

goose_cache_init(cache_dir = NULL)

Value

DBI connection object

Arguments

cache_dir

Directory for cache database (default: tempdir() for CRAN compliance)

Examples

Run this code
if (FALSE) {
# Initialize cache in temp directory (CRAN compliant)
conn <- goose_cache_init()

# Or specify custom directory
conn <- goose_cache_init(cache_dir = tempdir())
}

Run the code above in your browser using DataLab