CRAN Package Check Results for Package heterogeneouspeereffects

Last updated on 2026-11-15 07:50:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 6.90 106.19 113.09 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 5.02 53.19 58.21 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 69.29 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 74.17 OK
r-devel-windows-x86_64 0.1.0 9.00 114.00 123.00 OK
r-patched-linux-x86_64 0.1.0 7.17 81.77 88.94 OK
r-release-linux-x86_64 0.1.0 6.60 92.88 99.48 OK
r-release-macos-arm64 0.1.0 2.00 32.00 34.00 OK
r-release-macos-x86_64 0.1.0 5.00 232.00 237.00 OK
r-release-windows-x86_64 0.1.0 9.00 93.00 102.00 OK
r-oldrel-macos-arm64 0.1.0 2.00 39.00 41.00 OK
r-oldrel-macos-x86_64 0.1.0 5.00 168.00 173.00 OK
r-oldrel-windows-x86_64 0.1.0 12.00 159.00 171.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/9s] 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-36.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-3_param_test.R:36:3'): test GMM works ────────────────────────── Error in `optim(par = lambda1, fn = gmm2_objective, Z = Z_1, G = G_1, V = V_a_1, w = w_hat_list_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::heter_endo_gmm(YE, YN, D, s) at test-3_param_test.R:36:3 2. └─heterogeneouspeereffects:::unknown_prop_score_5param_gmm(...) 3. └─stats::optim(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc