Last updated on 2025-12-20 08:49:33 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| noncompliance | 3 | 3 | 7 |
Current CRAN status: ERROR: 3, NOTE: 3, OK: 7
Version: 0.2.2
Check: examples
Result: ERROR
Running examples in ‘noncompliance-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: AllColTotalsH0_CONT
> ### Title: Finds all column totals for Compliers and Never Takers under the
> ### sharp null for Compliers.
> ### Aliases: AllColTotalsH0_CONT
>
> ### ** Examples
>
> AllColTotalsH0_CONT(158, 14, 52, 12, 23, 78)
Error in `[.data.table`(psispace, , `:=`(c("CONR", "COAR"), list(n_y0 - :
attempt access index 2/2 in VECTOR_ELT
Calls: AllColTotalsH0_CONT -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(noncompliance)
>
> test_check("noncompliance")
Saving _problems/test_pvalues-7.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pvalues.R:5:3'): Finding the p-values ──────────────────────────
Error in ``[.data.table`(psispace, , `:=`(c("CONR", "COAR"), list(n_y0 - psiNT.0, n_y1 - psiNT.1)), by = names(psispace))`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_pvalues.R:5:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─noncompliance::Get_pvalues_CONT(16, 1, 5, 1, 2, 8)
5. └─noncompliance::AllColTotalsH0_CONT(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.2
Check: compiled code
Result: NOTE
File ‘noncompliance/libs/noncompliance.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.2
Check: examples
Result: ERROR
Running examples in ‘noncompliance-Ex.R’ failed
The error most likely occurred in:
> ### Name: AllColTotalsH0_CONT
> ### Title: Finds all column totals for Compliers and Never Takers under the
> ### sharp null for Compliers.
> ### Aliases: AllColTotalsH0_CONT
>
> ### ** Examples
>
> AllColTotalsH0_CONT(158, 14, 52, 12, 23, 78)
Error in `[.data.table`(psispace, , `:=`(c("CONR", "COAR"), list(n_y0 - :
attempt access index 2/2 in VECTOR_ELT
Calls: AllColTotalsH0_CONT -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(noncompliance)
>
> test_check("noncompliance")
Saving _problems/test_pvalues-7.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pvalues.R:5:3'): Finding the p-values ──────────────────────────
Error in ``[.data.table`(psispace, , `:=`(c("CONR", "COAR"), list(n_y0 - psiNT.0, n_y1 - psiNT.1)), by = names(psispace))`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_pvalues.R:5:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─noncompliance::Get_pvalues_CONT(16, 1, 5, 1, 2, 8)
5. └─noncompliance::AllColTotalsH0_CONT(...)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 20 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64