Errors¶
pytest_r_snapshot.errors
¶
ChunkLabelMissingError
¶
Bases:
Raised when an R fenced chunk is missing a required label.
ChunkNotFoundError
¶
Bases:
Raised when an expected R chunk label cannot be found.
ChunkParseError
¶
Bases:
Raised when parsing R chunks from a source file fails.
DuplicateChunkLabelError
¶
Bases:
Raised when a Python file contains duplicate R chunk labels.
RExecutionError
¶
Bases:
Raised when an R chunk execution fails.
RSnapshotError
¶
Bases:
Base exception for pytest-r-snapshot.
RscriptNotFoundError
¶
Bases:
Raised when the configured Rscript executable cannot be found.
SnapshotNameError
¶
Bases:
Raised when a snapshot name is invalid for use as a filename.
SnapshotNotFoundError
¶
Bases:
Raised when a snapshot file is missing in replay mode.
UnclosedChunkError
¶
Bases:
Raised when an R fenced chunk start fence has no matching end fence.