Last updated on 2024-11-12 07:49:22 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0 | 22.89 | 82.57 | 105.46 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.0 | 17.30 | 33.41 | 50.71 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.0 | 178.95 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 156.37 | NOTE | |||
r-devel-windows-x86_64 | 0.1.0 | 28.00 | 121.00 | 149.00 | OK | |
r-patched-linux-x86_64 | 0.1.0 | 24.76 | 63.71 | 88.47 | OK | |
r-release-linux-x86_64 | 0.1.0 | 24.87 | 63.55 | 88.42 | OK | |
r-release-macos-arm64 | 0.1.0 | 49.00 | OK | |||
r-release-macos-x86_64 | 0.1.0 | 82.00 | OK | |||
r-release-windows-x86_64 | 0.1.0 | 27.00 | 121.00 | 148.00 | OK | |
r-oldrel-macos-arm64 | 0.1.0 | 60.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.0 | 90.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.0 | 32.00 | 135.00 | 167.00 | OK |
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘CPAT-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: CUSUM.test
> ### Title: CUSUM Test
> ### Aliases: CUSUM.test
>
> ### ** Examples
>
> CUSUM.test(rnorm(1000))
CUSUM Test for Change in Mean
data: rnorm(1000)
A = 0.75044, p-value = 0.6264
sample estimates:
t*
421
> CUSUM.test(rnorm(1000), use_kernel_var = TRUE, kernel = "bo",
+ bandwidth = "nw")
Warning in get_lrv_vec(dat, kernel, bandwidth) :
cointReg is not installed! Defaulting to sqrt.
Error in get_lrv_vec(dat, kernel, bandwidth) : object 'h' not found
Calls: CUSUM.test -> stat_Vn -> get_lrv_vec -> getLongRunWeights
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(CPAT)
Package 'CPAT' version 0.1.0
Type citation("CPAT") for citing this R package in publications
>
> test_check("CPAT")
[ FAIL 4 | WARN 12 | SKIP 5 | PASS 98 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• cointReg not available (5): 'test-TestStatisticsFunctions.R:74:3',
'test-TestStatisticsFunctions.R:102:3',
'test-TestStatisticsFunctions.R:130:3',
'test-TestStatisticsFunctions.R:159:3',
'test-TestStatisticsFunctions.R:201:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ProbabilityFunctions.R:131:3'): Simulation functions work ──────
Error in `get_lrv_vec(dat, kernel, bandwidth)`: object 'h' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-ProbabilityFunctions.R:131:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─CPAT:::sim_Vn_stat(...)
5. └─base::sapply(1:size, function(throwaway) Vn_realization())
6. └─base::lapply(X = X, FUN = FUN, ...)
7. └─CPAT (local) FUN(X[[i]], ...)
8. └─CPAT (local) Vn_realization()
9. └─CPAT:::stat_Vn(...)
10. └─CPAT:::get_lrv_vec(dat, kernel, bandwidth)
11. └─CPAT:::getLongRunWeights(n, kernel = kernel, bandwidth = h)
── Error ('test-TestStatisticsFunctions.R:223:3'): CUSUM.test() functions properly ──
Error in `get_lrv_vec(dat, kernel, bandwidth)`: object 'h' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:223:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─CPAT::CUSUM.test(dat, use_kernel_var = TRUE)
5. └─CPAT:::stat_Vn(...)
6. └─CPAT:::get_lrv_vec(dat, kernel, bandwidth)
7. └─CPAT:::getLongRunWeights(n, kernel = kernel, bandwidth = h)
── Error ('test-TestStatisticsFunctions.R:234:3'): HR.test() functions properly ──
Error in `get_lrv_vec(dat, kernel, bandwidth)`: object 'h' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:234:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─CPAT::HR.test(dat, use_kernel_var = TRUE)
5. └─CPAT:::stat_Zn(...)
6. └─CPAT:::get_lrv_vec(dat, kernel, bandwidth)
7. └─CPAT:::getLongRunWeights(n, kernel = kernel, bandwidth = h)
── Error ('test-TestStatisticsFunctions.R:246:3'): DE.test() functions properly ──
Error in `get_lrv_vec(dat, kernel, bandwidth)`: object 'h' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:246:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─CPAT::DE.test(dat, use_kernel_var = TRUE)
5. └─CPAT:::stat_de(...)
6. └─CPAT:::stat_Vn(...)
7. └─CPAT:::get_lrv_vec(dat, kernel, bandwidth)
8. └─CPAT:::getLongRunWeights(n, kernel = kernel, bandwidth = h)
[ FAIL 4 | WARN 12 | SKIP 5 | PASS 98 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘Rdpack’ ‘grDevices’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc