
Generate human readable report of the conflict of interest statements
Source:R/print_conflict_statement.R
print_conflict_statement.Rd
The 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: 3 Columns: 26
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (9): Firstname, Middle name, Surname, Affiliation 1, Affiliation 2, Aff...
#> 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, and Lex W. Luthor declare no competing interest."