############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data ReportingTools ### ############################################################################## ############################################################################## * checking for file ‘ReportingTools/DESCRIPTION’ ... OK * preparing ‘ReportingTools’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... ERROR --- re-building ‘basicReportingTools.Rnw’ using Sweave --- finished re-building ‘basicReportingTools.Rnw’ --- re-building ‘microarrayAnalysis.Rnw’ using Sweave --- finished re-building ‘microarrayAnalysis.Rnw’ --- re-building ‘rnaseqAnalysis.Rnw’ using Sweave --- finished re-building ‘rnaseqAnalysis.Rnw’ --- re-building ‘shiny.Rnw’ using Sweave --- finished re-building ‘shiny.Rnw’ --- re-building ‘knitr.Rmd’ using knitr Warning in file.info(x, extra_cols = FALSE) : expanded path length 6335 would be too long for
Jessica L. Larson and Gabriel Becker
We can use knitr and ReportingTools together, as shown in this very simple example from our basic vignette.
Here we will create a simple report that integrates ReportingTools
report capabilities with knitr.
To build this report, simply call the knit2html
function from the
knitr package.
knit2html
from within the
reportDirectory
.knit2html
with an
output
argument that matches the reportDirectory
argument passed to HTMLReport
.Note: the output html file must b [... truncated] Warning in file(con, "r") : cannot open file 'jslib/jquery-1.8.0.min.js': No such file or directory Error: processing vignette 'knitr.Rmd' failed with diagnostics: cannot open the connection --- failed re-building ‘knitr.Rmd’ SUMMARY: processing the following file failed: ‘knitr.Rmd’ Error: Vignette re-building failed. Execution halted