Skip to contents

Copy default Schola template into project directory

Usage

copy_schola_template(format = "pdf", path = proj_get(), ...)

Arguments

format

Character, format which to look for. Defaults to pdf.

path

Character, path to copy to. Defaults to the current project root.

...

Arguments passed on to base::file.copy

overwrite

logical; should existing destination files be overwritten?

recursive

logical. If to is a directory, should directories in from be copied (and their contents)? (Like cp -R on POSIX OSes.)

copy.mode

logical: should file permission bits be copied where possible?

copy.date

logical: should file dates be preserved where possible? See Sys.setFileTime.

Value

No return value, called for side effect.

See also

Other Report templates and formats: open_schola_template(), schola_pdf(), schola_word2(), schola_word()

Author

Jan Netik

Examples

if (FALSE) {
copy_schola_template()
}