Checks if report files can be created.
tryReportFileCreation(fileName, write_to, overwrite = FALSE)
default fileName path.
pattern used to export file(s). Placeholders, like c("%d/%s_fromR.pdf", "%d/%s_fromR.csv"), will be substituted: -%d: with full path directory of 'fileName' -%p: with first parent directory of 'fileName' -%e: with extension of 'fileName' (without leading .) -%s: with shortname from 'fileName' (i.e. basename without extension). Exported file(s) extension(s) will be deduced from this pattern. Note that has to be a .pdf and/or .csv.
whether to overwrite file or not. Default is FALSE. Note that if TRUE, it will overwrite file. In addition a warning message will be sent.
a list with path(s) to pdf and csv file and overwritten status