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
I have a JupyterBook with executable R content (it uses the R/Python reticulate library). I expect a cell to lead to an error, for example the following
ts$node(0)
Which gives the following error from the reticulate library:
Error in py_call_impl(callable, dots$args, dots$keywords): TypeError: Index must be of integer type, not 'float'
Traceback:
1. ts$node(0)
2. py_call_impl(callable, dots$args, dots$keywords)
However, even if I mark the cell with :tags: [raises-exception], I get a lex error (I assume when trying to format the error message)
WARNING: Could not lex literal_block as "ipythontb". Highlighting skipped.
Is there any way to tell JupyterBook not to bother trying to format the output?
This doesn't happen with :normal" R errors, so I wonder if there's something funky going on with the reticulate library?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a JupyterBook with executable R content (it uses the R/Python reticulate library). I expect a cell to lead to an error, for example the following
Which gives the following error from the reticulate library:
However, even if I mark the cell with
:tags: [raises-exception]
, I get a lex error (I assume when trying to format the error message)Is there any way to tell JupyterBook not to bother trying to format the output?
This doesn't happen with :normal" R errors, so I wonder if there's something funky going on with the reticulate library?
Beta Was this translation helpful? Give feedback.
All reactions