Open stla opened 10 years ago
And for this article I get
Warning in block_exec(params) :
failed to tidy R code in chunk <unnamed-chunk-10>
reason: Error in parse(text = x, keep.source = TRUE) :
<text>:2:4: unexpected symbol
1: library(rcdd)
2: If you
^
This is a knitr
error being caused by the formatr
package, which handles tidying source code printing. Try setting opts_chunk$set(tidy = F)
and then running blogify
. I will take a closer look at the offending chunks to tell you why formatr
is throwing up this error, but for now this should do the trick.
Right, it does the trick. Thank you. However, as a side effect, the rgl graphics are opened while the blogification and they remain open after.
That side effect is really weird, since formatr
and the tidy
option only affects how the source code is printed.
Indeed, I could be wrong because I was tired and I ran too many blogifications today :)
When blogifying my blog the following strange warning occurs :
The Rmd file under blogification is the one generating this article.