Skip to content

Commit

Permalink
fix word templates
Browse files Browse the repository at this point in the history
  • Loading branch information
petersonR committed Sep 12, 2022
1 parent 0b52b0e commit f26be72
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions R/cida_word_document.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
cida_word_document <- function(...){

# Define filepaths
logo <- system.file(package = "template", "logo.png")
template <- system.file(package = "template", "template.tex")


sty_file <- system.file("rmarkdown/templates/report_word/skeleton", "CIDAStyles.docx", package="CIDAtools")
sty_file <- system.file("rmarkdown/", "CIDAStyles.docx", package="CIDAtools")

# supply files to your custom format
rmarkdown::word_document(..., reference_docx = sty_file)
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CIDAtools <a href='https://cida-csph.github.io/CIDAtools'><img src='man/figures/CIDAtoolshex.png' align="right" height="139" /></a>
# CIDAtools <a href='https://cida-csph.github.io/CIDAtools'><img src='man/figures/CIDAtoolshex.png' align="right" height="139" width = "139/></a>

[![R-CMD-check](https://github.com/CIDA-CSPH/CIDAtools/workflows/R-CMD-check/badge.svg)](https://github.com/CIDA-CSPH/CIDAtools/actions)

Expand Down
File renamed without changes.
Binary file not shown.

0 comments on commit f26be72

Please sign in to comment.