* using log directory ‘/data/localhost/ripley/R/packages/tests-noLD/heterogeneouspeereffects.Rcheck’ * using R Under development (unstable) (2026-11-17 r90917) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-17 07:45:58 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘heterogeneouspeereffects/DESCRIPTION’ ... OK * this is package ‘heterogeneouspeereffects’ 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 ‘heterogeneouspeereffects’ can be installed ... OK * checking package directory ... OK * checking ‘build’ 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [20s/22s] [20s/22s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(heterogeneouspeereffects) > > test_check("heterogeneouspeereffects") Saving _problems/test-3_param_test-72.R [ FAIL 1 | WARN 2 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-3_param_test.R:72:3'): test GMM works ────────────────────────── Error in `optim(par = lambda1, fn = gmm2_objective, Z = Z_1, G = G_1, w = w_hat_list_1, V = V_a_1, method = "L-BFGS-B", lower = c(-Inf, -0.999999, -0.999999, -0.999999, -0.999999), upper = c(Inf, 0.999999, 0.999999, 0.999999, 0.999999))`: non-finite value supplied by optim Backtrace: ▆ 1. └─heterogeneouspeereffects::ortho_heter_endo_gmm(...) at test-3_param_test.R:72:3 2. └─heterogeneouspeereffects:::ortho_unknown_prop_score_5param_gmm(...) 3. └─stats::optim(...) [ FAIL 1 | WARN 2 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s/11s] OK * 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 See ‘/data/localhost/ripley/R/packages/tests-noLD/heterogeneouspeereffects.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:22.13, 62.22 + 6.27