Skip to contents

Create a report

Usage

report(
  paper,
  modules = c("exact_p", "marginal", "effect_size", "statcheck", "osf_check",
    "retractionwatch", "ref_consistency"),
  output_file = paste0(paper$name, "_report.", output_format),
  output_format = c("qmd", "html", "pdf")
)

Arguments

paper

a paper object

modules

a vector of modules to run (names for built-in modules or paths for custom modules)

output_file

the name of the output file

output_format

the format to create the report in

Value

the file path the report is saved to

Examples

if (FALSE) { # \dontrun{
filename <- demoxml()
paper <- read_grobid(filename)
report(paper)
} # }