CRAN Package Check Results for Package mighty.metadata

Last updated on 2026-11-25 02:54:02 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 6.81 497.28 504.09 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 4.85 386.11 390.96 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 79.58 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 84.90 ERROR
r-devel-windows-x86_64 0.2.0 10.00 527.00 537.00 OK
r-patched-linux-x86_64 0.2.0 6.50 529.81 536.31 OK
r-release-linux-x86_64 0.2.0 7.47 533.47 540.94 OK
r-release-macos-arm64 0.2.0 2.00 130.00 132.00 OK
r-release-macos-x86_64 0.2.0 5.00 647.00 652.00 OK
r-release-windows-x86_64 0.2.0 11.00 509.00 520.00 OK
r-oldrel-macos-arm64 0.2.0 2.00 147.00 149.00 OK
r-oldrel-macos-x86_64 0.2.0 5.00 499.00 504.00 OK
r-oldrel-windows-x86_64 0.2.0 12.00 679.00 691.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/25s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/29s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc