CRAN Package Check Results for Package PCAmatchR

Last updated on 2021-12-02 20:51:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.44 49.14 51.58 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 1.93 35.96 37.89 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 72.98 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 64.75 OK
r-devel-windows-x86_64-new-UL 0.3.0 8.00 93.00 101.00 OK
r-devel-windows-x86_64-new-TK 0.3.0 OK
r-devel-windows-x86_64-old 0.3.0 5.00 59.00 64.00 OK
r-patched-linux-x86_64 0.3.0 2.73 47.11 49.84 OK
r-patched-solaris-x86 0.3.0 88.90 OK
r-release-linux-x86_64 0.3.0 2.08 46.60 48.68 OK
r-release-macos-arm64 0.3.0 OK
r-release-macos-x86_64 0.3.0 OK
r-release-windows-ix86+x86_64 0.3.0 6.00 70.00 76.00 OK
r-oldrel-macos-x86_64 0.3.0 OK
r-oldrel-windows-ix86+x86_64 0.3.0 6.00 71.00 77.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(PCAmatchR)
     >
     > test_check("PCAmatchR")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-match_maker.R:81:3): match_maker works ──────────────────────────
     Error in `fullmatch.matrix(x = x, min.controls = controls, max.controls = controls,
     omit.fraction = omf, data = data, ...)`: Some elements of the distance matrix are not found in the data argument.
     Backtrace:
     █
     1. ├─testthat::expect_named(...) test-match_maker.R:81:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─PCAmatchR::match_maker(...)
     5. ├─optmatch::pairmatch(...)
     6. └─optmatch:::pairmatch.matrix(...)
     7. ├─optmatch::fullmatch(...)
     8. └─optmatch:::fullmatch.matrix(...)
     ── Error (test-match_maker.R:94:3): matches has correct dimensions ─────────────
     Error in `fullmatch.matrix(x = x, min.controls = controls, max.controls = controls,
     omit.fraction = omf, data = data, ...)`: Some elements of the distance matrix are not found in the data argument.
     Backtrace:
     █
     1. └─PCAmatchR::match_maker(...) test-match_maker.R:94:2
     2. ├─optmatch::pairmatch(...)
     3. └─optmatch:::pairmatch.matrix(...)
     4. ├─optmatch::fullmatch(...)
     5. └─optmatch:::fullmatch.matrix(...)
     ── Error (test-match_maker.R:107:3): weights has correct dimension ─────────────
     Error in `fullmatch.matrix(x = x, min.controls = controls, max.controls = controls,
     omit.fraction = omf, data = data, ...)`: Some elements of the distance matrix are not found in the data argument.
     Backtrace:
     █
     1. └─PCAmatchR::match_maker(...) test-match_maker.R:107:2
     2. ├─optmatch::pairmatch(...)
     3. └─optmatch:::pairmatch.matrix(...)
     4. ├─optmatch::fullmatch(...)
     5. └─optmatch:::fullmatch.matrix(...)
     ── Error (test-plot_maker.R:21:2): (code run outside of `test_that()`) ─────────
     Error in `fullmatch.matrix(x = x, min.controls = controls, max.controls = controls,
     omit.fraction = omf, data = data, ...)`: Some elements of the distance matrix are not found in the data argument.
     Backtrace:
     █
     1. └─PCAmatchR::match_maker(...) test-plot_maker.R:21:1
     2. ├─optmatch::pairmatch(...)
     3. └─optmatch:::pairmatch.matrix(...)
     4. ├─optmatch::fullmatch(...)
     5. └─optmatch:::fullmatch.matrix(...)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 6 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘vignette.Rmd’ using rmarkdown
    Loading required package: PCAmatchR
    Loading required package: optmatch
    Loading required package: survival
    The optmatch package has an academic license. Enter relaxinfo() for more information.
    Quitting from lines 78-85 (vignette.Rmd)
    Error: processing vignette ‘vignette.Rmd’ failed with diagnostics:
    Some elements of the distance matrix are not found in the data argument.
    --- failed re-building ‘vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc