tests/testthat/setup.R

# Setup file for testthat
# This file is run before tests to set up shared resources

# Ensure datasets are available
data(acrylic, package = "netSEM")
data(PVmodule, package = "netSEM")

# Suppress warnings during tests for cleaner output
options(warn = -1)

Try the netSEM package in your browser

Any scripts or data that you put into this service are public.

netSEM documentation built on Feb. 25, 2026, 5:08 p.m.