CRAN Package Check Results for Package ceres

Last updated on 2026-11-28 12:51:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 0.1.0 383.00 23.86 406.86 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 357.00 23.23 380.23 OK
r-release-macos-arm64 0.1.0 126.00 -42.00 84.00 OK
r-release-macos-x86_64 0.1.0 394.00 255.00 649.00 OK
r-oldrel-macos-arm64 0.1.0 147.00 -43.00 104.00 OK
r-oldrel-macos-x86_64 0.1.0 360.00 332.00 692.00 OK
r-oldrel-windows-x86_64 0.1.0 422.00 152.00 574.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ceres) > > test_check("ceres") trust_region_minimizer.cc:72 Terminating: Initial residual and Jacobian evaluation failed. Saving _problems/test-ceres-nls-314.R Saving _problems/test-ceres-nls-339.R covariance_impl.cc:760 Error: Covariance matrix is near rank deficient and the user did not specify a non-zeroCovariance::Options::null_space_rank to enable the computation of a Pseudo-Inverse. Reciprocal condition number: 4.88108e-32 min_reciprocal_condition_number: 1e-14 [ FAIL 2 | WARN 0 | SKIP 8 | PASS 196 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-circle-fit.R:2:5', 'test-covariance.R:2:5', 'test-curve-fitting.R:2:5', 'test-derivatives.R:2:5', 'test-iteration-callback.R:2:5', 'test-powell.R:2:5', 'test-robust-smoothing.R:2:5', 'test-rosenbrock.R:2:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ceres-nls.R:314:5'): errors in fn and jac reach the caller ───── Error in `ceres_nls_solve(fn_checked, jac_checked, start, m, lower, upper, loss, as.double(loss_scale), vcov && loss == "linear" && m > n_estimated && n_estimated > 0L, unclass(control))`: c++ exception (unknown reason) Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-ceres-nls.R:314:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─ceres::ceres_nls(fails_later, start, x = x, y = y) 8. └─ceres:::ceres_nls_solve(...) ── Error ('test-ceres-nls.R:339:5'): bad return values are reported ──────────── Error in `ceres_nls_solve(fn_checked, jac_checked, start, m, lower, upper, loss, as.double(loss_scale), vcov && loss == "linear" && m > n_estimated && n_estimated > 0L, unclass(control))`: c++ exception (unknown reason) Backtrace: ▆ 1. ├─testthat::expect_error(ceres_nls(changes_length, start), "always return 4 residuals") at test-ceres-nls.R:339:5 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─ceres::ceres_nls(changes_length, start) 8. └─ceres:::ceres_nls_solve(...) [ FAIL 2 | WARN 0 | SKIP 8 | PASS 196 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang