trashbirdecology / bbsAssistant

An R package for downloading and handling data and information from the North American Breeding Bird Survey.
Creative Commons Zero v1.0 Universal
27 stars 13 forks source link

Render vignette while specifying bibliography #84

Closed trashbirdecology closed 4 years ago

trashbirdecology commented 4 years ago

For some reason, when we specify bibliography: bib.bib in the html_vignette YAML, the vignette fails to render. Not sure how to ameliorate this.

have tried the following in the yaml:

.bib fn in quotes ("bib.bib"):

bibliography: "bib.bib"

and specifying as:

bibliography:
  - bib.bib

this was identified while resolving https://github.com/TrashBirdEcology/bbsAssistant/issues/81

Specifying yaml as bibliography: "bib.bib" yields error:

Could not find bibliography file: bib.bib Error running filter /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc: Filter returned error status 1

Specifying yaml as bibliography: bib.bib yields error

Could not find bibliography file: bib.bib Error running filter /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc: Filter returned error status 1 Error: pandoc document conversion failed with error 83

Specifying yaml as

bibliography:
  - bib.bib

yields error:

Could not find bibliography file: bib.bib Error running filter /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc: Filter returned error status 1 Error: pandoc document conversion failed with error 83

trashbirdecology commented 4 years ago

Resolved by moving .bib to bbsassistant/vignettes/

d'oh!