CRAN Package Check Results for Package Spec2Annot

Last updated on 2026-09-27 19:50:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 1.3.4 87.39 OK
r-devel-linux-x86_64-fedora-gcc 1.3.4 83.80 OK
r-release-macos-arm64 1.3.4 9.00 16.00 25.00 ERROR
r-release-macos-x86_64 1.3.4 24.00 95.00 119.00 OK
r-oldrel-macos-arm64 1.3.4 9.00 25.00 34.00 ERROR
r-oldrel-macos-x86_64 1.3.4 24.00 66.00 90.00 OK

Check Details

Version: 1.3.4
Check: tests
Result: 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 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% 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 Flavor: r-release-macos-arm64

Version: 1.3.4
Check: tests
Result: 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 Flavor: r-oldrel-macos-arm64