CRAN Package Check Results for Package heterogeneouspeereffects

Last updated on 2026-10-10 04:51:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.1.0 3.98 69.08 73.06 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 5.00 79.38 84.38 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 74.35 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-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 15.00 126.00 141.00 ERROR

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [43s] 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 4 | 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_0, G = G_0, w = w_hat_list_0, V = V_a_0, 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 4 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64