Last updated on 2025-09-29 16:50:28 CEST.
Package | ERROR | OK |
---|---|---|
NTLKwIEx | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
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(NTLKwIEx)
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggplot2
>
> test_check("NTLKwIEx")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test.R:18:1'): (code run outside of `test_that()`) ──────────────────
Error in `uniroot(target_function, interval = c(0, 1000))`: f() values at end points not of opposite sign
Backtrace:
▆
1. ├─NTLKwIEx::E_NTLKwIEx(R_NTLKwIEx(n, teta, alpha, a, b, m)) at test.R:18:1
2. │ └─base::mean(data)
3. └─NTLKwIEx::R_NTLKwIEx(n, teta, alpha, a, b, m)
4. └─base::sapply(...)
5. └─base::lapply(X = X, FUN = FUN, ...)
6. └─NTLKwIEx (local) FUN(X[[i]], ...)
7. └─NTLKwIEx::Q_NTLKwIEx(u_val, teta, alpha, a, b, m)
8. └─stats::uniroot(target_function, interval = c(0, 1000))
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64