CRAN Package Check Results for Package ceres

Last updated on 2026-12-04 22:52:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 539.93 40.39 580.32 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 357.54 67.48 425.02 WARN
r-devel-linux-x86_64-fedora-clang 0.1.0 183.00 13.94 196.94 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 194.00 13.53 207.53 OK
r-patched-linux-x86_64 0.1.0 482.07 80.24 562.31 OK
r-release-linux-x86_64 0.1.0 482.43 80.80 563.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-release-windows-x86_64 0.1.0 380.00 142.00 522.00 WARN
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: whether package can be installed
Result: WARN Found the following significant warnings: /home/hornik/tmp/scratch/RtmpMwlFEQ/R.INSTALL28a19840a85dfd/ceres/src/ceres-src/internal/ceres/covariance_impl.cc:728:70: warning: 'Eigen::BDCSVD<MatrixType, Options>::BDCSVD(const Eigen::MatrixBase<OtherDerived>&, unsigned int) [with Derived = Eigen::Matrix<double, -1, -1, 1>; MatrixType_ = Eigen::Matrix<double, -1, -1, 1>; int Options_ = 0]' is deprecated: Options should be specified using the class template parameter. [-Wdeprecated-declarations] /home/hornik/tmp/scratch/RtmpMwlFEQ/R.INSTALL28a19840a85dfd/ceres/src/ceres-src/internal/ceres/reorder_program.cc:207:17: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [8589934588, 8589934591] is out of the bounds [0, 8589934588] [-Warray-bounds=] See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/ceres.Rcheck/00install.out’ for details. * used C++ compiler: ‘g++-16 (Debian 16.2.0-5) 16.2.0’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: /data/localhost/ripley/R/packages/tests-clang/ceres/src/ceres-src/internal/ceres/covariance_impl.cc:727:25: warning: 'BDCSVD<Eigen::Matrix<double, -1, -1, 1>>' is deprecated: Options should be specified using the class template parameter. [-Wdeprecated-declarations] See ‘/data/localhost/ripley/R/packages/tests-clang/ceres.Rcheck/00install.out’ for details. * used C++ compiler: ‘clang version 23.1.7’ Flavor: r-devel-linux-x86_64-fedora-clang

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

Version: 0.1.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: D:/temp/2026_12_04_17_33_05_1838/Rtmp6VYiNf/R.INSTALL11a2346c0e7a07/ceres/src/ceres-src/internal/ceres/covariance_impl.cc:728:70: warning: 'Eigen::BDCSVD<MatrixType, Options>::BDCSVD(const Eigen::MatrixBase<OtherDerived>&, unsigned int) [with Derived = Eigen::Matrix<double, -1, -1, 1>; MatrixType_ = Eigen::Matrix<double, -1, -1, 1>; int Options_ = 0]' is deprecated: Options should be specified using the class template parameter. [-Wdeprecated-declarations] See 'd:/Rcompile/CRANpkg/local/4.6/ceres.Rcheck/00install.out' for details. * used C++ compiler: 'g++.exe (GCC) 14.3.0' Flavor: r-release-windows-x86_64