- using R Under development (unstable) (2025-12-23 r89222)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘easySdcTable/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘easySdcTable’ version ‘1.1.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘easySdcTable’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [12s/14s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/21s] ERROR
Running ‘testthat.R’ [20s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(easySdcTable)
Loading required package: SSBtools
>
> test_check("easySdcTable")
Saving _problems/test-ProtectTable-20.R
Saving _problems/test-ProtectTable-27.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ProtectTable.R:20:3'): Simple works ────────────────────────────
Error in ``[.data.table`(subDat, , eval(expr), by = key(subDat))`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. └─easySdcTable (local) PTxyzTest(EasyData("z1"), c("region", "hovedint"), "ant", method = "Simple") at test-ProtectTable.R:20:3
2. └─easySdcTable::PTxyz(..., IncProgress = NULL) at test-ProtectTable.R:5:3
3. ├─easySdcTable::ProtectTable(data, dimVar, freqVar, ...)
4. │ └─base::eval(sysCall, envir = parentFrame)
5. │ └─base::eval(sysCall, envir = parentFrame)
6. └─easySdcTable::PTwrap(data, dimVar, freqVar, ...)
7. └─easySdcTable::ProtectTable(...)
8. └─easySdcTable::ProtectTable1(...)
9. └─sdcTable::protectTable(...)
10. └─sdcTable:::.protect_simpleheuristic_old(object, input = paraList)
11. ├─subDat[, eval(expr), by = key(subDat)]
12. └─data.table:::`[.data.table`(subDat, , eval(expr), by = key(subDat))
── Error ('test-ProtectTable.R:27:3'): SimpleSingle works ──────────────────────
Error in ``[.data.table`(subDat, , eval(expr), by = key(subDat))`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. └─easySdcTable (local) PTxyzTest(z, 1:2, "y0", protectZeros = TRUE, method = "SimpleSingle") at test-ProtectTable.R:27:3
2. └─easySdcTable::PTxyz(..., IncProgress = NULL) at test-ProtectTable.R:5:3
3. ├─easySdcTable::ProtectTable(data, dimVar, freqVar, ...)
4. │ └─base::eval(sysCall, envir = parentFrame)
5. │ └─base::eval(sysCall, envir = parentFrame)
6. └─easySdcTable::PTwrap(data, dimVar, freqVar, ...)
7. └─easySdcTable:::ProtectTableSimpleSingle(..., maxN = maxN)
8. └─easySdcTable::ProtectTable(...)
9. └─easySdcTable::ProtectTable1(...)
10. └─sdcTable::protectTable(...)
11. └─sdcTable:::.protect_simpleheuristic_old(object, input = paraList)
12. ├─subDat[, eval(expr), by = key(subDat)]
13. └─data.table:::`[.data.table`(subDat, , eval(expr), by = key(subDat))
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 19 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6s/7s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘easySdcTableVignette.Rmd’ using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-6'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-7'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-8'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-9'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-10'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Quitting from easySdcTableVignette.Rmd:131-133 [unnamed-chunk-10]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 6/6 in VECTOR_ELT
---
Backtrace:
▆
1. └─easySdcTable::ProtectTable(...)
2. └─easySdcTable::ProtectTable1(...)
3. └─sdcTable::protectTable(...)
4. └─sdcTable:::.protect_simpleheuristic_old(object, input = paraList)
5. ├─subDat[, eval(expr), by = key(subDat)]
6. └─data.table:::`[.data.table`(subDat, , eval(expr), by = key(subDat))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'easySdcTableVignette.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘easySdcTableVignette.Rmd’
--- re-building ‘singletonsAndZeros.Rmd’ using rmarkdown
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Warning in eng_r(options) :
Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.
Quitting from singletonsAndZeros.Rmd:63-65 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 6/6 in VECTOR_ELT
---
Backtrace:
▆
1. └─easySdcTable::ProtectTable(...)
2. └─easySdcTable::ProtectTable1(...)
3. └─sdcTable::protectTable(...)
4. └─sdcTable:::.protect_simpleheuristic_old(object, input = paraList)
5. ├─subDat[, eval(expr), by = key(subDat)]
6. └─data.table:::`[.data.table`(subDat, , eval(expr), by = key(subDat))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'singletonsAndZeros.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘singletonsAndZeros.Rmd’
SUMMARY: processing the following files failed:
‘easySdcTableVignette.Rmd’ ‘singletonsAndZeros.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs