Generate a hash based expectation for a standalone object
Source:R/roxygen_addins.R
standalone_snapshot.Rd
testthat
does not use hash based checking anymore, in favour of snapshots.
These don't work well in tests of standalones because the file will move
projects independently of the test directory. This function lets you quickly
create a check based on a gold standard
Usage
standalone_snapshot(obj, .clip = interactive(), .as = deparse(substitute(obj)))