Skip to content
Prev 343333 / 398506 Next

knitr and stopifnot replacement.

On 22 Aug 2014, at 12:39, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:

            
Thanks; that helped me to find the exact right option:

<<filelist, error=FALSE>>=
# check all files exist before continuing
stopifnot(all(sapply(files, file.exists)))
@