
Apply custom_folders additions and removals to a base folder set
Source:R/init-project.R
dot-resolve_custom_folders.RdInternal helper backing init_project()'s custom_folders argument.
Arguments
- base_folders
Character vector. The folder set to modify.
- custom_folders
Character vector or
NULL. Bare names add; names prefixed with"-"remove.- preserve_parents
Logical. When
TRUE(the default), removing a nested folder such as"output/figures"keeps its parent"output"in the set. WhenFALSE, the removal is honored exactly as written and no parent is added back.init_project()passesFALSEwhen the base set came from aconfig, since a config is a complete statement of the intended structure.