You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have test harness data and functions in a helper-base.R file in tests/testthat/, andtest_file seems to rely on this being sourced manually, whereas test_package sets up a clean test environment.
Sourcing helper-base.R is a work-around, but pollutes the global environment, and I think it would be more consistent and simpler for test_file to source it for the user in a test environment.