CRAN Package Check Results for Package motifr

Last updated on 2021-05-14 23:50:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 6.94 91.94 98.88 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 5.81 70.55 76.36 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 130.13 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0 121.45 OK
r-devel-windows-ix86+x86_64 1.0.0 18.00 102.00 120.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.0.0 OK
r-patched-linux-x86_64 1.0.0 7.38 91.32 98.70 OK
r-patched-solaris-x86 1.0.0 173.30 OK
r-release-linux-x86_64 1.0.0 6.22 86.89 93.11 OK
r-release-macos-x86_64 1.0.0 OK
r-release-windows-ix86+x86_64 1.0.0 15.00 160.00 175.00 ERROR
r-oldrel-macos-x86_64 1.0.0 OK
r-oldrel-windows-ix86+x86_64 1.0.0 10.00 128.00 138.00 OK

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' [19s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(motifr)
     > library(reticulate)
     >
     > test_check("motifr")
     == Failed tests ================================================================
     -- Error (test-core.R:43:3): io_undirected_dummy_net_issue#27 ------------------
     Error: TypeError: 'float' object cannot be interpreted as an integer
    
     Detailed traceback:
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\rbridge.py", line 133, in distributionMotifsAutoR
     partial, total = sma.distributionMotifsAuto(G, *motifs, model = model, level = level)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 120, in distributionMotifsAuto
     expectations = expectedMultiMotifs(G, *arities, roles = roles)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 44, in expectedMultiMotifs
     return motif_info.expectations(G, *positions, **kwargs)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 166, in expected3Motifs
     d = sma.densityMatrix(G)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse.py", line 708, in densityMatrix
     v = sma.edgesCountMatrix(G)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse.py", line 813, in edgesCountMatrix
     res = numpy.zeros((nTypes, nTypes), dtype=int)
    
     Backtrace:
     x
     1. +-reticulate::py_suppress_warnings(motif_summary(ml_net27, lvl_attr = "lvl")) test-core.R:43:2
     2. | +-base::with(warnings$catch_warnings(), expr)
     3. | \-reticulate:::with.python.builtin.object(...)
     4. | +-base::tryCatch(...)
     5. | | \-base:::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:3): exemplify_motif --------------------------
     Error: StopIteration:
    
     Detailed traceback:
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_frontend.py", line 220, in exemplifyMotif
     return next(source & selector)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\iterate.py", line 54, in __next__
     return self.it.__next__()
    
     Backtrace:
     x
     1. +-testthat::expect_null(...) 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-devel-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [31s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(motifr)
     > library(reticulate)
     >
     > test_check("motifr")
     == Failed tests ================================================================
     -- Error (test-core.R:43:3): io_undirected_dummy_net_issue#27 ------------------
     Error: TypeError: 'float' object cannot be interpreted as an integer
    
     Detailed traceback:
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\rbridge.py", line 133, in distributionMotifsAutoR
     partial, total = sma.distributionMotifsAuto(G, *motifs, model = model, level = level)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 120, in distributionMotifsAuto
     expectations = expectedMultiMotifs(G, *arities, roles = roles)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 44, in expectedMultiMotifs
     return motif_info.expectations(G, *positions, **kwargs)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_distribution.py", line 166, in expected3Motifs
     d = sma.densityMatrix(G)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse.py", line 708, in densityMatrix
     v = sma.edgesCountMatrix(G)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse.py", line 813, in edgesCountMatrix
     res = numpy.zeros((nTypes, nTypes), dtype=int)
    
     Backtrace:
     x
     1. +-reticulate::py_suppress_warnings(motif_summary(ml_net27, lvl_attr = "lvl")) test-core.R:43:2
     2. | +-base::with(warnings$catch_warnings(), expr)
     3. | \-reticulate:::with.python.builtin.object(...)
     4. | +-base::tryCatch(...)
     5. | | \-base:::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:3): exemplify_motif --------------------------
     Error: StopIteration:
    
     Detailed traceback:
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\analyse_frontend.py", line 220, in exemplifyMotif
     return next(source & selector)
     File "C:\Users\CRAN\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\sma\iterate.py", line 54, in __next__
     return self.it.__next__()
    
     Backtrace:
     x
     1. +-testthat::expect_null(...) 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-release-windows-ix86+x86_64