Skip to contents

Internal helper used by seed_demo_autosaves_from_inst(). This is split out so we can unit test the file-copying behaviour without relying on an installed package structure.

Usage

copy_demo_autosaves(
  demo_auto_dir,
  demo_metric_dir,
  auto_save_path,
  metric_save_path
)

Arguments

demo_auto_dir

Path to demo autosaves (taxa) inside the package, or a temp directory in tests.

demo_metric_dir

Path to demo metric autosaves inside the package, or a temp directory in tests.

auto_save_path

User-writable autosave directory for taxa.

metric_save_path

User-writable autosave directory for metrics.

Value

Invisibly returns NULL.