Skip to contents

Copies the default configuration template file (config.yml) to the specified destination directory.

Usage

copy_config_template(to = getwd())

Arguments

to

Character string specifying the destination directory. Defaults to the current working directory.

Value

Logical value indicating whether the file copy was successful, as returned by the underlying copy function.

Details

This is a convenience function that copies the config.yml template using copy_vauryou_file().

Examples

if (FALSE) { # \dontrun{
# Copy config template to current directory
copy_config_template()

# Copy config template to specific project directory
copy_config_template(to = "~/my_project")
} # }