"boilerplate_import and boilerplate_export work correctly"
"boilerplate_import handles various database formats"
"boilerplate_export handles complex selection patterns"
"boilerplate_save handles different save modes"
"import/export functions handle errors gracefully"
"boilerplate_import handles legacy database formats"

boilerplate_import and boilerplate_export work correctly

Error in `boilerplate_export(db = test_db, select_elements = "methods.sample", 
    data_path = export_dir, output_file = "boilerplate_export.rds", 
    quiet = TRUE, confirm = FALSE)`: Directory does not exist: D:\temp\2025_06_12_16_45_17_25820\RtmpwPIMz6/selective_export/projects/default/data. Set create_dirs=TRUE to create it.

Error in `boilerplate_export(db = test_db, select_elements = "methods.statistical.*", 
    data_path = export_dir, output_file = "boilerplate_export.rds", 
    quiet = TRUE, confirm = FALSE)`: Directory does not exist: D:\temp\2025_06_12_16_45_17_25820\RtmpwPIMz6/wildcard_export/projects/default/data. Set create_dirs=TRUE to create it.

Error in `boilerplate_export(db = test_db, select_elements = c("methods.statistical.longitudinal.*", 
    "results.main"), data_path = temp_dir, output_file = "multi_select.rds", 
    save_by_category = FALSE, quiet = TRUE, confirm = FALSE)`: Directory does not exist: D:\temp\2025_06_12_16_45_17_25820\RtmpwPIMz6\file2dbac2d95ef3/projects/default/data. Set create_dirs=TRUE to create it.

boilerplate_export handles complex selection patterns

Error in `boilerplate_save(db = test_db, data_path = output_dir, category = NULL, 
    confirm = FALSE, quiet = TRUE, timestamp = FALSE)`: Directory does not exist: D:\temp\2025_06_12_16_45_17_25820\RtmpwPIMz6\file2dbac3b9118b3/output/projects/default/data. Set create_dirs=TRUE to create it.

boilerplate_save handles different save modes

Error in `boilerplate_import(data_path = empty_data_dir, quiet = TRUE)`: Data path does not exist: D:\temp\2025_06_12_16_45_17_25820\RtmpwPIMz6\file2dbac6dde5117/empty_data/projects/default/data