CRAN Package Check Results for Package sgdGMF

Last updated on 2025-04-23 09:48:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 150.30 178.21 328.51 OK
r-devel-linux-x86_64-debian-gcc 1.0 104.70 122.94 227.64 OK
r-devel-linux-x86_64-fedora-clang 1.0 615.88 OK
r-devel-linux-x86_64-fedora-gcc 1.0 573.54 OK
r-devel-windows-x86_64 1.0 165.00 195.00 360.00 OK
r-patched-linux-x86_64 1.0 144.60 167.98 312.58 OK
r-release-linux-x86_64 1.0 145.48 165.85 311.33 OK
r-release-macos-arm64 1.0 130.00 OK
r-release-macos-x86_64 1.0 157.00 OK
r-release-windows-x86_64 1.0 171.00 198.00 369.00 OK
r-oldrel-macos-arm64 1.0 112.00 NOTE
r-oldrel-macos-x86_64 1.0 162.00 NOTE
r-oldrel-windows-x86_64 1.0 179.00 254.00 433.00 ERROR

Check Details

Version: 1.0
Check: installed package size
Result: NOTE installed size is 11.2Mb sub-directories of 1Mb or more: libs 10.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0
Check: tests
Result: ERROR Running 'testthat.R' [7s] 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(sgdGMF) Loading required package: ggplot2 Attaching package: 'sgdGMF' The following object is masked from 'package:stats': simulate > > test_check("sgdGMF") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 157 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-eigengap.R:17:3'): Rank selecion ─────────────────────────────── Error in `while (tol >= 1) { j = ju yreg = lambdas[j:(j + 4)] xreg = (j + (-1:3))^(2/3) delta = 2 * abs(stats::cov(yreg, xreg))/stats::var(xreg) flag = which(-diff(lambdas) >= delta) ncomp = ifelse(length(flag) == 0, 0, utils::tail(flag[flag <= maxcomp], 1)) ju = ncomp + 1 tol = abs(ju - j) iter = iter + 1 if (iter > maxiter) break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─sgdGMF::sgdgmf.rank(...) at test-eigengap.R:17:3 2. └─sgdGMF:::eigengap.onatski(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 157 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64