leppott / ContDataQC

Quality control checks on continuous data. Example data is from a HOBO data logger with 30 minute intervals.
https://leppott.github.io/ContDataQC/
MIT License
20 stars 10 forks source link

Reports not working in Shiny #39

Closed leppott closed 6 years ago

leppott commented 6 years ago

When using the package with Shiny the reports are not working.

leppott commented 6 years ago

Added "report.format" variable to main function. Default is "docx" but have the option of using HTML. So when programming in Shiny can set this variable. Pandoc is required for DOCX and isn't installed on Shiny unless running locally.

leppott commented 6 years ago

Shiny won't use reference for report templates (rmd folder in package library).

Works when use a template (rmd) stored in the working directory.

Add variable for report. Default to the one used in the library.

leppott commented 6 years ago

Tested on shiny.io and the new method works. Need a directory with the RMD files and need to use config.R to set a pointer to it (ContData.env$myReport.Dir).

leppott commented 6 years ago

Fixed in v2.0.2.9001.

https://github.com/leppott/ContDataQC/commit/58aaf3a7c4a652eec98e22a39885a425e7111aed