Weave: continue after error

I’m using Weave.jl to generate a walkthrough of a design process.
It’s natural in a walkthrough to want to include code that produces an error and then say, X causes an error, let’s do Y.

However, it doesn’t look like this is possible. Errors in a chunk appear to prevent evaluation of later chunks or stop weaving completely.

Is there a way to achieve this?

Hmm this looks related https://github.com/mpastell/Weave.jl/pull/117

I reached a false conclusion because I tried to execute the .jmd in Atom.
Both the weaved and the the tangled versions continue after errors.

1 Like