- using R version 4.6.2 Patched (2026-11-23 r90976)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-25 19:30:46 UTC
- checking for file ‘mighty.metadata/DESCRIPTION’ ... OK
- this is package ‘mighty.metadata’ version ‘0.2.0’
- 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 ‘mighty.metadata’ 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/2s] 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 ... [11s/14s] OK
- checking Rd files ... [0s/1s] 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 ... [6s/9s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [26s/35s] ERROR
Running ‘testthat.R’ [26s/34s]
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(mighty.metadata)
>
> test_check("mighty.metadata")
Saving _problems/test-mighty_codelists-27.R
[ FAIL 1 | WARN 0 | SKIP 35 | PASS 506 ]
══ Skipped tests (35) ══════════════════════════════════════════════════════════
• On CRAN (35): 'test-a_mighty_config.R:1:1', 'test-a_study_config.R:1:1',
'test-mighty_codelists.R:122:1', 'test-mighty_codelists.R:132:1',
'test-mighty_codelists.R:150:1', 'test-mighty_codelists.R:164:1',
'test-mighty_codelists.R:178:1', 'test-mighty_codelists.R:188:1',
'test-mighty_codelists.R:201:1', 'test-mighty_domain.R:21:1',
'test-mighty_study.R:29:1', 'test-mighty_study.R:94:1',
'test-mighty_study.R:152:1', 'test-y_codelists.R:67:1',
'test-y_codelists.R:76:1', 'test-y_codelists.R:111:1',
'test-y_codelists.R:122:1', 'test-y_codelists.R:151:1',
'test-y_codelists.R:210:1', 'test-y_codelists.R:233:1',
'test-y_codelists.R:249:1', 'test-y_codelists.R:300:1',
'test-y_codelists.R:351:1', 'test-y_create_md_col.R:1:1',
'test-y_create_md_param.R:1:1', 'test-y_create_md_table.R:1:1',
'test-y_create_md_values.R:1:1', 'test-y_documents.R:131:1',
'test-y_documents.R:138:1', 'test-y_documents.R:195:1',
'test-y_documents.R:203:1', 'test-y_documents.R:210:1',
'test-y_documents.R:217:1', 'test-y_write_config.R:1:1',
'test-z_resolve_subsets.R:43:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mighty_codelists.R:27:3'): schema requires at least one operation group ──
Error in `S7schema::S7schema(file = file, schema = schema, .data = .data)`: /1 must match a schema in anyOf
* must have required property 'values'
* must have required property 'subset'
* must have required property 'restore'
* must have required property 'extend'
Backtrace:
▆
1. ├─testthat::expect_error(new_cl(list(id = "A")), "missingProperty: values") at test-mighty_codelists.R:27: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. └─mighty.metadata:::new_cl(list(id = "A"))
8. └─mighty.metadata::mighty_codelists(.data = list(...)) at ./helper-codelists.R:2:11
9. ├─S7::new_object(construct_s7schema(file, .data, schema_name = "codelists.json"))
10. │ └─S7:::check_parent(`_parent`, class)
11. │ └─S7:::class_inherits(parent, parent_class)
12. └─mighty.metadata:::construct_s7schema(file, .data, schema_name = "codelists.json")
13. └─S7schema::S7schema(file = file, schema = schema, .data = .data)
14. └─S7schema:::use_validator(...)
15. └─cli::cli_abort(message = msg, call = call)
16. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 35 | PASS 506 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [20s/26s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [3s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR