mrecos / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
7 stars 0 forks source link

knitr error with use_README option in template #2

Open mrecos opened 7 years ago

mrecos commented 7 years ago

using the "use README" option in the template throws an error in new rrtools project. Look into this

* Creating `README.Rmd` from template.
* Adding `README.Rmd` to `.Rbuildignore`.
* Modify `README.Rmd`.
* Rendering README.Rmd to README.md for GitHub.
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ  \
  --no-save --no-restore --quiet CMD build  \
  '/Users/mattharris/Documents/R_Local/temp/temp1' --no-resave-data  \
  --no-manual 
mrecos commented 7 years ago

fixed on OSX with inclusion of default location to Pandoc to .Renviron file.
https://github.com/mrecos/rrtools/commit/16061c1230bcb48baa61258cd00bc9f4e962fb6a