authordown standardizes author metadata and produces common manuscript sections. This vignette uses bundled example data so it can run offline and deterministically.
library(authordown)
csv_path <- system.file("extdata", "authordown_template.csv", package = "authordown")
authors <- authordown_read_local(csv_path)If you want a fresh template in your working directory:
title_page <- generate_title_page(
data = authors,
title = "Example Paper",
style = "default",
show_degree = TRUE
)
cat(title_page)
#> ## Example Paper
#>
#> Zhipeng Cao PhD^1,7,13^*, John Snow MD^2,8,14^*, Harry Potter PhD^3,9,15^, Neo Anderson PhD^4,10,16^*, Dolores Abernathy PhD^5,11,17^, Sheldon Cooper PhD^6,12,18^*
#>
#> 1. Shanghai Xuhui Mental Health Center, Shanghai, China
#>
#> 2. Winterfell Institute of Cognitive Resilience
#>
#> 3. Hogwarts School of Mind and Magic
#>
#> 4. Zion Institute for Systems Neuroscience
#>
#> 5. Westworld Neural Dynamics Lab
#>
#> 6. Caltech Theoretical Neuroscience Group
#>
#> 7. Quantum Brain Lab, Lunar Base
#>
#> 8. The Wall Imaging Station
#>
#> 9. Diagon Alley Methods Lab
#>
#> 10. Matrix Simulation Lab
#>
#> 11. Host Cognition Unit
#>
#> 12. Geek Physics Lab
#>
#> 13. Interstellar Data Commons
#>
#> 14. Northern Clinical Alliance
#>
#> 15. Ministry of Magic Research Unit
#>
#> 16. Oracle Advisory Group
#>
#> 17. Mesa BioSystems
#>
#> 18. Pasadena Cognitive Center
#>
#> *Corresponding author(s): zhipeng.cao@neuroverse.lab, john.snow@winterfell.north, neo.matrix@zion.free, sheldon.cooper@caltech.quarkack <- generate_acknowledgement(authors, style = "paragraph")
coi <- generate_conflict(authors, style = "paragraph")
contrib <- generate_contribution(authors, style = "bullets")
cat(ack)
#> Acknowledgements: Thanks to the MRI machine for behaving (mostly); Acknowledges the Night's Watch for late-night data collection; Thanks to a helpful owl for delivery of IRB forms; Thanks to the red pill for improving contrast; Acknowledges the host maintenance team for stable uptime; Thanks to a spot on the couch for consistent thinking
cat("\n\n")
cat(coi)
#> The following authors report conflicts of interest: Zhipeng Cao (No conflict, unless rivalry with the autocorrect counts); John Snow (Conflict: sworn oath to scientific neutrality); Harry Potter (Conflict: occasional wand-related artifacts); Neo Anderson (Conflict: occasional mismatch with system administrators); Dolores Abernathy (Conflict: philosophical debates with the control room); Sheldon Cooper (Conflict: mild discomfort with non-optimal protocols).
cat("\n\n")
cat(contrib)
#> - Zhipeng Cao contributed as follows: Neuroimaging wizardry; Pipeline wrangling; Wrote the first draft while coffee was still hot
#> - John Snow contributed as follows: Kept the cohort organized beyond the wall; Field-tested cold-resistant protocols
#> - Harry Potter contributed as follows: Magic-to-metric translation; Patronus-level visualization
#> - Neo Anderson contributed as follows: Reality-bending visualization; Debugged the simulation mid-scan
#> - Dolores Abernathy contributed as follows: Human-robot interface insights; Memory loop analysis
#> - Sheldon Cooper contributed as follows: Theoretical framing; Statistical rigor; Fun with p-valuesIf you manage authors in an online table, export it locally and read the file.
authordown_read_local().Supported formats: CSV, TSV, XLSX.
Use Affiliation1, Affiliation2, …
AffiliationN columns to list all affiliations for each
author. There is no hard limit; add as many columns as needed. The title
page numbers affiliations in the order they first appear.
FirstName and LastName.Corresponding = TRUE but Email is blank.0000-0000-0000-0000
format.