- using R Under development (unstable) (2026-11-26 r90998)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.6
flang version 23.1.6
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-28 02:25:03 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘ceres/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ceres’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ceres’ can be installed ... [181s/101s] OK
See the install log for details.
- used C++ compiler: ‘clang version 23.1.6’
- checking C++ specification ... INFO
specified C++17
- checking installed package size ... INFO
installed size is 12.6Mb
sub-directories of 1Mb or more:
lib 8.4Mb
libs 3.2Mb
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... 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
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR