Last updated on 2025-02-17 02:51:19 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 7.09 | 86.84 | 93.93 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 4.70 | 57.37 | 62.07 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 106.93 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 107.09 | ERROR | |||
r-devel-macos-arm64 | 1.0.0 | 48.00 | OK | |||
r-devel-macos-x86_64 | 1.0.0 | 85.00 | OK | |||
r-devel-windows-x86_64 | 1.0.0 | 9.00 | 89.00 | 98.00 | OK | |
r-patched-linux-x86_64 | 1.0.0 | 6.02 | 73.62 | 79.64 | OK | |
r-release-linux-x86_64 | 1.0.0 | 5.84 | 73.87 | 79.71 | OK | |
r-release-macos-arm64 | 1.0.0 | 47.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 68.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 9.00 | 95.00 | 104.00 | OK | |
r-oldrel-macos-arm64 | 1.0.0 | 46.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 81.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 12.00 | 98.00 | 110.00 | OK |
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘ptable-Ex.R’ failed
The error most likely occurred in:
> ### Name: modify_cnt_ptable
> ### Title: Modify a ptable suitable for frequency count variables
> ### Aliases: modify_cnt_ptable modify_cnts_ptable
>
> ### ** Examples
>
> # Original ptable
> ptab <- create_cnt_ptable(3, 1)
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ptable)
Attaching package: 'ptable'
The following object is masked from 'package:graphics':
plot
The following object is masked from 'package:base':
plot
>
> test_check("ptable")
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Row 2: original frequency i = 1
-------------------------------
j1 01234
j2 01234
v -10123
i_char 1
j_char 01234
v_char -10123
i 1
j 01234
p_init 00000
p_lb 0.000000010.000000010.000000010.000000010.00000001
p_ub 11111
pstay 000
epsilon 0.00000001
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
p_new:11111
$p_mean
[,1]
[1,] 5
$p_var
[,1]
[1,] 15
$p_sum
[1] 5
$p_stay
[1] 1
Variable 1 - Iter 1
check_var: TRUE
check_pstay: TRUE
p_lb for p_stay: 0.00000001
Sum of p: 0
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
There are 11 consecutive intervals with identical noise. You can try another
'seed' or proceed. At least, check whether the modified ptable has
sufficiently rearranged sub-intervals.
NOTE for Tau-Argus:
Please use a new Tau-Argus Release (>= 4.2.3).
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-examples.R:10:3'): Example is correct ──────────────────────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=2, V=1.05, js=1 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-examples.R:10:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ptable::pt_ex_cnts()
5. └─ptable::create_cnt_ptable(...)
6. └─ptable::create_ptable(...)
7. └─ptable:::pt_create_pTable(...)
── Error ('test-functions.R:2:1'): (code run outside of `test_that()`) ─────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. └─ptable::create_cnt_ptable(D = 3, V = 1) at test-functions.R:2:1
2. └─ptable::create_ptable(...)
3. └─ptable:::pt_create_pTable(...)
── Failure ('test-params.R:117:3'): pt_create_pTable() is ok ───────────────────
Expected `pt_create_pTable(params = para1, debugging = TRUE, monitoring = TRUE)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:148:3'): modify_cnt_ptable() is ok ──────────────────
Expected `modify_cnt_ptable(...)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:153:3'): modify_cnt_ptable() is ok ──────────────────
Expected `modify_cnt_ptable(...)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Error ('test-params.R:162:3'): modify_cnt_ptable() is ok ────────────────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-params.R:162:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─ptable::modify_cnt_ptable(pt_create_pTable(para1), 0.3, seed = 5467)
8. └─ptable:::pt_create_pTable(para1)
── Failure ('test-params.R:168:3'): Testing different optim settings ───────────
Expected `create_cnt_ptable(D = 3, V = 1, optim = 2)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:169:3'): Testing different optim settings ───────────
Expected `create_cnt_ptable(D = 3, V = 1, optim = 3)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:192:13'): Testing if only ptable_params-class is generated and imported again ──
Expected `create_ptable(params = para2)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘introduction.Rmd’ using rmarkdown
Quitting from lines 78-81 [unnamed-chunk-4] (introduction.Rmd)
Error: processing vignette 'introduction.Rmd' failed with diagnostics:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=2, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
--- failed re-building ‘introduction.Rmd’
SUMMARY: processing the following file failed:
‘introduction.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ptable)
Attaching package: 'ptable'
The following object is masked from 'package:graphics':
plot
The following object is masked from 'package:base':
plot
>
> test_check("ptable")
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Ignoring argument `step` for freqency tables
Row 2: original frequency i = 1
-------------------------------
j1 01234
j2 01234
v -10123
i_char 1
j_char 01234
v_char -10123
i 1
j 01234
p_init 00000
p_lb 0.000000010.000000010.000000010.000000010.00000001
p_ub 11111
pstay 000
epsilon 0.00000001
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
p_new:11111
$p_mean
[,1]
[1,] 5
$p_var
[,1]
[1,] 15
$p_sum
[1] 5
$p_stay
[1] 1
Variable 1 - Iter 1
check_var: TRUE
check_pstay: TRUE
p_lb for p_stay: 0.00000001
Sum of p: 0
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
There are 11 consecutive intervals with identical noise. You can try another
'seed' or proceed. At least, check whether the modified ptable has
sufficiently rearranged sub-intervals.
NOTE for Tau-Argus:
Please use a new Tau-Argus Release (>= 4.2.3).
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS.
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-examples.R:10:3'): Example is correct ──────────────────────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=2, V=1.05, js=1 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-examples.R:10:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ptable::pt_ex_cnts()
5. └─ptable::create_cnt_ptable(...)
6. └─ptable::create_ptable(...)
7. └─ptable:::pt_create_pTable(...)
── Error ('test-functions.R:2:1'): (code run outside of `test_that()`) ─────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. └─ptable::create_cnt_ptable(D = 3, V = 1) at test-functions.R:2:1
2. └─ptable::create_ptable(...)
3. └─ptable:::pt_create_pTable(...)
── Failure ('test-params.R:117:3'): pt_create_pTable() is ok ───────────────────
Expected `pt_create_pTable(params = para1, debugging = TRUE, monitoring = TRUE)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:148:3'): modify_cnt_ptable() is ok ──────────────────
Expected `modify_cnt_ptable(...)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:153:3'): modify_cnt_ptable() is ok ──────────────────
Expected `modify_cnt_ptable(...)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Error ('test-params.R:162:3'): modify_cnt_ptable() is ok ────────────────────
Error: The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-params.R:162:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─ptable::modify_cnt_ptable(pt_create_pTable(para1), 0.3, seed = 5467)
8. └─ptable:::pt_create_pTable(para1)
── Failure ('test-params.R:168:3'): Testing different optim settings ───────────
Expected `create_cnt_ptable(D = 3, V = 1, optim = 2)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:169:3'): Testing different optim settings ───────────
Expected `create_cnt_ptable(D = 3, V = 1, optim = 3)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
── Failure ('test-params.R:192:13'): Testing if only ptable_params-class is generated and imported again ──
Expected `create_ptable(params = para2)` to run without any errors.
i Actually got a <simpleError> with text:
The ptable can't be calculated without a violation of the constraints. The combination of the input parameters you set (e.g. D=3, V=1, js=0 or pstay) doesn't work. Please try another specification: either change the arguments 'mono=' or 'optim=' or try to use a different combination of input parameters (hint: changing the variance is sufficient in most cases).
[ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc