CRAN Package Check Results for Package motifr

Last updated on 2022-12-02 04:00:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 8.17 104.40 112.57 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 6.66 80.47 87.13 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 159.04 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0 167.27 OK
r-devel-windows-x86_64 1.0.0 32.00 145.00 177.00 OK
r-patched-linux-x86_64 1.0.0 7.08 100.70 107.78 OK
r-release-linux-x86_64 1.0.0 5.35 100.74 106.09 OK
r-release-macos-arm64 1.0.0 40.00 OK
r-release-macos-x86_64 1.0.0 73.00 OK
r-release-windows-x86_64 1.0.0 34.00 152.00 186.00 OK
r-oldrel-macos-arm64 1.0.0 38.00 OK
r-oldrel-macos-x86_64 1.0.0 84.00 OK
r-oldrel-windows-ix86+x86_64 1.0.0 21.00 161.00 182.00 ERROR

Check Details

Version: 1.0.0
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘graphlayouts’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [30s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(motifr)
     > library(reticulate)
     >
     > test_check("motifr")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 72 ]
    
     == Failed tests ================================================================
     -- Error ('test-core.R:43'): io_undirected_dummy_net_issue#27 ------------------
     <Rcpp::exception/C++Error/error/condition>
     Error in `py_call_impl(callable, dots$args, dots$keywords)`: TypeError: 'float' object cannot be interpreted as an integer
    
     Backtrace:
     x
     1. +-reticulate::py_suppress_warnings(motif_summary(ml_net27, lvl_attr = "lvl")) at test-core.R:43:2
     2. | +-base::with(warnings$catch_warnings(), expr)
     3. | \-reticulate:::with.python.builtin.object(...)
     4. | +-base::tryCatch(...)
     5. | | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
     6. | \-base::force(expr)
     7. \-motifr::motif_summary(ml_net27, lvl_attr = "lvl")
     8. \-motifr::motifs_distribution(...)
     9. \-pkg.env$sma$distributionMotifsAutoR(...)
     10. \-reticulate:::py_call_impl(callable, dots$args, dots$keywords)
     -- Error ('test-count_motifs.R:101'): exemplify_motif --------------------------
     <Rcpp::exception/C++Error/error/condition>
     Error in `py_call_impl(callable, dots$args, dots$keywords)`: StopIteration
    
     Backtrace:
     x
     1. +-testthat::expect_null(...) at test-count_motifs.R:101:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-motifr::exemplify_motif(motifr::tidygraph_dummy_net, "1,2[I.B]")
     5. \-pkg.env$sma$exemplifyMotif(py_g, motif)
     6. \-reticulate:::py_call_impl(callable, dots$args, dots$keywords)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 72 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64