R Under development (unstable) (2026-02-27 r89498 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(algebraic.mle) Attaching package: 'algebraic.mle' The following object is masked from 'package:testthat': expectation > > test_check("algebraic.mle") Saving _problems/test-mle-72.R [ FAIL 1 | WARN 1 | SKIP 0 | PASS 227 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mle.R:72:3'): AIC and BIC work via logLik ────────────────────── Error in `object@min`: no applicable method for `@` applied to an object of class "mle" Backtrace: ▆ 1. ├─testthat::expect_equal(AIC(fit), -2 * (-50) + 2 * 2) at test-mle.R:72:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::AIC(fit) 5. └─stats:::AIC.default(fit) 6. ├─stats (local) ll(object) 7. └─stats4 (local) ll(object) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 227 ] Error: ! Test failures. Execution halted