You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass[a4paper]{article}
\begin{document}
\title{Test}
\maketitle
<<a>>=
x = 1
@
<<b>>=
y = 2
@
\section{Test}
<<c, dependson=c('a','b')>>=
z = x + y
@
\end{document}
output error:
Error in for (i in sc_split(deps)) dep_list$set(structure(list(c(dep_list$get(i), :
invalid for() loop sequence
Calls: knit ... process_file -> split_file -> lapply -> FUN -> parse_block
Execution halted
The text was updated successfully, but these errors were encountered:
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
A multiple chunk dependency defined with c() does not compile. It works with 'a;b' syntax though.
c() syntax is defined in the manual http://cloud.github.com/downloads/yihui/knitr/knitr-manual.pdf along with 'a;b'
sample file:
output error:
The text was updated successfully, but these errors were encountered: