ecohealthalliance / ehastyle

R Markdown templates for EHA documents
8 stars 3 forks source link

Make USAID P2 wide version #4

Closed arw36 closed 6 years ago

arw36 commented 6 years ago

Got Error: YAML output format must evaluate to a function Execution halted when trying to knit

noamross commented 6 years ago

It worked for me in a test doc: testaid (1).docx

Can you post the file you tried to knit? Note the header should look like this:

---
title: "Untitled"
output: ehastyle::usaid
---

or

title: "Untitled"
output: 
  ehastyle::usaid_word:
    usaid_panel: 2
---

Note YAML is is very finicky about indentation and white space.