resultcheck.yml to
_resultcheck.yml (legacy resultcheck.yml is
still read for backward compatibility).tests/_resultcheck_snaps/ instead of
_resultcheck_snapshots/.snapshot.dir in _resultcheck.yml.with_example() to run package examples in temporary
projects under tempdir(), avoiding writes to user
home/package/getwd locations.\\dontrun{} and use setup_sandbox() with no
required file arguments for empty sandboxes.snapshot() now warns with the exact target path before
interactive writes; default path remains configurable via
snapshot.dir in _resultcheck.yml._resultcheck.yml to
stabilize snapshot comparisons across runs.[ignored] markers in snapshot() output
to explicitly indicate excluded components.snapshot() — create and verify human-readable snapshots
of R objects (models, data frames, tables, vectors, etc.). Interactive
mode warns and prompts; testing mode (inside
run_in_sandbox()) errors on mismatch.setup_sandbox() — copy project files and/or directories
into a temporary directory for isolated testing. Accepts individual file
paths or entire subdirectories.run_in_sandbox() — execute an R script inside the
sandbox with the working directory set to the sandbox root, while
find_root() and snapshot() transparently
resolve back to the original project root.cleanup_sandbox() — remove the sandbox directory after
testing.find_root() — locate the project root using
_resultcheck.yml, .Rproj, or .git
as markers.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.