A prepared example report consisting of an RMarkdown source file, a logo and a diagram is copied to a target directory given by the parameter ps_path.

create_example_qprojektreport(ps_path, pb_open = rlang::is_interactive())

Arguments

ps_path

target path where example report should be positioned

pb_open

should the example report source file be opened

Examples

tmprepdir <- tempdir()
create_example_qprojektreport(ps_path = tmprepdir, pb_open = FALSE)
#> [create_example_qprojektreport] * Copy  /private/var/folders/mb/t7z5vr594bq1hfpqyzhmpwpr0000gp/T/RtmpyQJrA8/temp_libpath446d28114cb2/qrmdtmpl/example_data/qprojekt_report  to:  /var/folders/mb/t7z5vr594bq1hfpqyzhmpwpr0000gp/T//RtmpRNPds5 
unlink(file.path(tmprepdir, "qprojekt_report"), recursive = TRUE, force = TRUE)