yihui/knitr — Issue #18: possible omitted import lead to failure on basic Rnw file.
Author: halpo
Created: 2011-11-23 19:05:53+00:00
State: open

After install through R CMD build && R CMD INSTALL with package pulled from github on 11/23/2011. I tried the following.
First knit a basic document with no code chunks, which succeeded.
Second I tried a basic code chunk with
```
<>=
1+1
@
```
then ran `knit("test.Rnw")` and received the following error.
```
Error in match(data$token, grammar_symbols$token) :
object 'grammar_symbols' not found
In addition: Warning message:
In block_exec(code = "1+1", eval = TRUE, echo = TRUE, results = "markup", :
failed to tidy R code in chunk
reason: Error in tidy.source(text = code, output = FALSE) :
could not find function "parser"
```
This might be an omitted import or somethings along those lines.