The goal of snapshot.data is to export the expect_snapshot_data()
function from https://github.com/bcgov/ssdtools
,
to test functions in other projects, without having to import the entire ssdtools
package.
See bcgov/ssdtools#379 (comment).
You can install the development version of snapshot.data from GitHub with:
# install.packages("pak")
pak::pak("d-morrison/snapshot.data")
This is a basic example which shows you how to solve a common problem:
library(snapshot.data)
## basic example code