R Under development (unstable) (2025-07-07 r88391 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(NNS) > Sys.setenv("OMP_THREAD_LIMIT" = 2) > test_check("NNS") [ FAIL 6 | WARN 0 | SKIP 0 | PASS 121 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Partial_Moments.R:11:4'): LPM ──────────────────────────────── LPM(0, NULL, x) (`actual`) not equal to 0.49 (`expected`). `actual` is a list `expected` is a double vector (0.49) ── Failure ('test_Partial_Moments.R:16:4'): LPM ──────────────────────────────── LPM(0, NULL, x_df) (`actual`) not equal to 0.49 (`expected`). `actual` is a list `expected` is a double vector (0.49) ── Error ('test_Partial_Moments.R:17:4'): LPM ────────────────────────────────── Error: Not compatible with requested type: [type=list; target=double]. Backtrace: ▆ 1. ├─testthat::expect_equal(LPM(0, colMeans(x_df), x_df), 0.49, tolerance = 1e-05) at test_Partial_Moments.R:17:11 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base (local) LPM(0, colMeans(x_df), x_df) 5. ├─base::do.call(...) 6. └─base::mapply(...) 7. └─NNS (local) ``(target = dots[[1L]][[1L]], degree = 0, variable = ``) ── Failure ('test_Partial_Moments.R:25:4'): UPM ──────────────────────────────── UPM(0, NULL, x) (`actual`) not equal to 0.51 (`expected`). `actual` is a list `expected` is a double vector (0.51) ── Failure ('test_Partial_Moments.R:30:4'): UPM ──────────────────────────────── UPM(0, NULL, x_df) (`actual`) not equal to 0.51 (`expected`). `actual` is a list `expected` is a double vector (0.51) ── Error ('test_Partial_Moments.R:31:4'): UPM ────────────────────────────────── Error: Not compatible with requested type: [type=list; target=double]. Backtrace: ▆ 1. ├─testthat::expect_equal(UPM(0, colMeans(x_df), x_df), 0.51, tolerance = 1e-05) at test_Partial_Moments.R:31:11 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base (local) UPM(0, colMeans(x_df), x_df) 5. ├─base::do.call(...) 6. └─base::mapply(...) 7. └─NNS (local) ``(target = dots[[1L]][[1L]], degree = 0, variable = ``) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 121 ] Error: Test failures Execution halted