execute foreign code under opts_knit$get('root.dir') if specified: http://stackoverflow.com/q/15512545/559676
\input{} and \include{} are no longer used