Parsing grattan reports for errors.
This package assists with enforcing style in reports by the Grattan Institute, Melbourne.
Use the remotes
package to install grattanReporter
from Github:
install.packages("remotes")
remotes::install_github("grattan/grattanReporter")
In the working directory containing your report, run:
library(grattanReporter)
checkGrattanReport()
Before your report can be released you must run
library(grattanReporter)
checkGrattanReport(compile = TRUE, pre_release = TRUE, release = TRUE)
which, provided your system meets the requirements and your report has no errors, will write a releasable PDF to a folder RELEASE
.