history <- checkSnapshotHistory(readSnapshotHistory(system.file(
"extdata", "examples", "example_snapshot_history.csv",
package = "nprcgenekeepr"
)))
snapshot <- history[3L, ]
snapshot$snapshotDate <- as.Date("2026-07-15")
appendColonySnapshot(history, snapshot)
Run the code above in your browser using DataLab