Errors¶
ChunkLabelMissingError
¶
ChunkNotFoundError
¶
ChunkParseError
¶
Bases: RSnapshotError
Raised when parsing R chunks from a source file fails.
DuplicateChunkLabelError
¶
RExecutionError
¶
Bases: RSnapshotError
Raised when an R chunk execution fails.
RSnapshotError
¶
Bases: Exception
Base exception for pytest-r-snapshot.
RscriptNotFoundError
¶
Bases: RSnapshotError
Raised when the configured Rscript executable cannot be found.
SnapshotNameError
¶
Bases: RSnapshotError
Raised when a snapshot name is invalid for use as a filename.
SnapshotNotFoundError
¶
Bases: RSnapshotError
Raised when a snapshot file is missing in replay mode.