compress_FrontPage: Compress the FrontPage

Description Usage Arguments Value

Description

Compress the FrontPage

Usage

1
compress_FrontPage(path = ".", error = FALSE, msg.if.error = TRUE)

Arguments

path

The path of a report, under which is a file FrontPage/FrontPage.pdf.

error

If the compression does not succeed (for what ever reason), should an error be given? By default, FALSE.

msg.if.error

Should a message be printed at all, if error is FALSE? If TRUE, the default, the error message is printed via message, not stop, so allows subsequent code to continue. Otherwise, provided error = FALSE, the function returns NULL, invisibly.

Value

Called for its side-effect: attempts to compress ./FrontPage/FrontPage.pdf using Ghostscript, in order to make the front page prettier than normal, but still a reasonable size.

Returns NULL, invisibly.


HughParsonage/grattanReporter documentation built on May 7, 2019, 5:02 a.m.