- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘Spec2Annot/DESCRIPTION’ ... OK
- this is package ‘Spec2Annot’ version ‘1.3.4’
- package encoding: UTF-8
- 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 whether package ‘Spec2Annot’ can be installed ... [9s/5s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.1.sdk’
- checking installed package size ... OK
- checking package 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking compiled code ... OK
- checking examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/5s] ERROR
Running ‘testthat.R’ [5s/5s]
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(Spec2Annot)
>
> test_check("Spec2Annot")
Loading required package: data.table
Loading required package: magrittr
Attaching package: 'magrittr'
The following objects are masked from 'package:testthat':
equals, is_less_than, not
0 annotation, returning empty table
0 annotation, returning empty table
Saving _problems/test-brute_force_const-20.R
0 annotation, returning empty table
Saving _problems/test-brute_force_const-24.R
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 751 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• For development only (1): 'test-00-devonly.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-brute_force_const.R:20:5'): brute_force_const() ──────────────
Expected `nrow(temp) == 1` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
Backtrace:
▆
1. └─base::lapply(...) at test-brute_force_const.R:11:3
2. └─Spec2Annot (local) FUN(X[[i]], ...)
3. └─testthat::expect_true(nrow(temp) == 1) at test-brute_force_const.R:20:5
── Error ('test-brute_force_const.R:24:5'): brute_force_const() ────────────────
Error in ``[.data.table`(temp_form, 1, formula)`: j (the 2nd argument inside [...]) is a single symbol but column name 'formula' is not found. If you intended to select columns using a variable in calling scope, please try DT[, ..formula]. The .. prefix conveys one-level-up similar to a file system path.
Backtrace:
▆
1. └─base::lapply(...) at test-brute_force_const.R:11:3
2. └─Spec2Annot (local) FUN(X[[i]], ...)
3. ├─testthat::expect_true(temp_form[1, formula] == formula) at test-brute_force_const.R:24:5
4. │ └─testthat::quasi_label(enquo(object), label)
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. ├─temp_form[1, formula]
7. └─data.table:::`[.data.table`(temp_form, 1, formula)
8. └─data.table:::stopf(...)
9. └─data.table:::raise_condition(...)
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 751 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR