prep_create_storr_factory: Create a factory function for 'storr' objects for backing a...

View source: R/util_storr_factory.R

prep_create_storr_factoryR Documentation

Create a factory function for storr objects for backing a dataquieR_resultset2

Description

Create a factory function for storr objects for backing a dataquieR_resultset2

Usage

prep_create_storr_factory(db_dir = tempfile(), namespace = "objects")

Arguments

db_dir

character path to the directory for the back-end, if one is created on the fly.

namespace

character namespace for the report, so that one back-end can back several reports

the returned function will try to create a storr object using a temporary folder or the folder in db_dir, if specified. The database will either be the storr_rds.

Value

storr object or NULL, if package storr is not available


dataquieR documentation built on Jan. 8, 2026, 5:08 p.m.