CRAN Package Check Results for Package mighty.metadata

Last updated on 2026-06-06 21:52:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 5.43 181.43 186.86 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 3.42 135.22 138.64 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 9.00 349.68 358.68 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 364.09 OK
r-devel-windows-x86_64 0.1.0 7.00 161.00 168.00 OK
r-patched-linux-x86_64 0.1.0 4.94 169.71 174.65 OK
r-release-linux-x86_64 0.1.0 4.84 175.62 180.46 OK
r-release-macos-arm64 0.1.0 1.00 40.00 41.00 OK
r-release-macos-x86_64 0.1.0 4.00 168.00 172.00 OK
r-release-windows-x86_64 0.1.0 7.00 150.00 157.00 OK
r-oldrel-macos-arm64 0.1.0 1.00 50.00 51.00 OK
r-oldrel-macos-x86_64 0.1.0 4.00 157.00 161.00 OK
r-oldrel-windows-x86_64 0.1.0 11.00 190.00 201.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [66s/68s] 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-y_write_config-8.R Saving _problems/test-y_write_config-11.R Saving _problems/test-y_write_config-25.R [ FAIL 3 | WARN 3 | SKIP 3 | PASS 162 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-mighty_domain.R:1:1', 'test-mighty_study.R:29:1', 'test-y_create_md_col.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-y_write_config.R:7:3'): write_config() writes study to directory ── Expected `write_config(x = study, path = tmpdir)` not to throw any errors. Actually got a <simpleError> with message: cannot open the connection ── Error ('test-y_write_config.R:10:3'): write_config() writes study to directory ── Error in `file("", "w+b")`: cannot open the connection Backtrace: ▆ 1. └─testthat::expect_snapshot(list.files(tmpdir)) at test-y_write_config.R:10:3 2. └─testthat:::expect_snapshot_(...) 3. ├─testthat:::with_is_snapshotting(...) 4. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 5. └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 6. └─evaluate:::watchout(...) 7. └─evaluate:::local_persistent_sink_connection(debug, frame) 8. └─base::file("", "w+b") ── Failure ('test-y_write_config.R:25:3'): write_config() uses study@path when path is NULL ── Expected `all(file.exists(file.path(tmpdir, expected)))` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 3 | WARN 3 | SKIP 3 | PASS 162 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc