R Under development (unstable) (2026-01-25 r89330 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(xhaz) > > test_check("xhaz") Saving _problems/test-as-xhaz-5.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-as-xhaz.R:5:3'): as.xhaz puts 'xhaz' first and preserves other classes ── Error in `expect_class_first(y, "xhaz")`: could not find function "expect_class_first" [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] Error: ! Test failures. Execution halted