Seed example model files in a temporary directory
Source:R/seed_example_helpers.R
wa_seed_example_models.RdThis helper writes a minimal model file to a subdirectory of `dir` (default: `tempdir()`), and sets the option `writeAlizer.mock_dir` to that location so examples can run without downloads or network access.
Details
Creates an ultra-tiny model artifact used in examples and points the package loader to it via a temporary option.
- Writes only under `tempdir()` and returns the created path. - Sets `options(writeAlizer.mock_dir = <path>)`; callers should restore prior options when appropriate (see Examples).