If the specified path is the current working directory, it asks for user confirmation.
Validates the specified structure ("single"
or "multi"
).
Creates the target directory if it doesn't exist.
Copies all files from the package's template directory (based on the specified structure) to the target path.
Preserves the directory structure of the template.
Skips existing files and provides warnings for each skipped file.
Handles .Rproj files specially, skipping if any .Rproj file already exists in the target directory.
Provides feedback on whether files were copied or if all files already existed.