
Generate human readable report of the conflict of interest statements
Source:R/print_conflict_statement.R
print_conflict_statement.RdThe functions generates the conflict of interest statement section of the manuscript.
The output is generated from an contributors_table based on the contributors_table_template().
See also
Other output functions:
print_credit_roles(),
print_funding(),
print_title_page(),
print_xml(),
print_yaml()
Examples
example_contributors_table <- read_contributors_table(
contributors_table = system.file("extdata",
"contributors_table_example.csv", package = "tenzing", mustWork = TRUE))
#> Rows: 5 Columns: 28
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (11): Author/Acknowledgee, Firstname, Middle name, Surname, Affiliation ...
#> dbl (1): Order in publication
#> lgl (16): Conceptualization, Data curation, Formal analysis, Funding acquisi...
#>
#> ℹ Use `spec()` to retrieve the full column specification for this data.
#> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
print_conflict_statement(contributors_table = example_contributors_table, initials = FALSE)
#> [1] "John M. Smith, Marton Kovacs, Lex W. Luthor, Alex O. Holcombe, and Peter Pan declare no competing interest."