CRAN Package Check Results for Package pipenostics

Last updated on 2021-03-04 00:48:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.7 5.36 103.89 109.25 OK
r-devel-linux-x86_64-debian-gcc 0.1.7 4.43 77.91 82.34 OK
r-devel-linux-x86_64-fedora-clang 0.1.7 140.22 OK
r-devel-linux-x86_64-fedora-gcc 0.1.7 131.19 OK
r-patched-solaris-x86 0.1.7 228.00 OK
r-oldrel-macos-x86_64 0.1.7 ERROR

Check Details

Version: 0.1.7
Check: examples
Result: ERROR
    Running examples in ‘pipenostics-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: m325tracebw
    > ### Title: Minenergo-325. Trace backwards thermal-hydraulic regime for
    > ### district heating network
    > ### Aliases: m325tracebw
    >
    > ### ** Examples
    >
    > # It is possible to run without specification of argument values:
    > m325tracebw()
    
    2021-03-03 14:22:01 m325tracebw | start backward tracing; segments 1;
    2021-03-03 14:22:01 m325tracebw | start job; job 0;
    2021-03-03 14:22:01 m325tracebw | now process; 1 node(s); [7]
    2021-03-03 14:22:01 m325tracebw | trace temperature;;
    2021-03-03 14:22:01 m325tracebw | trace pressure;;
    2021-03-03 14:22:01 m325tracebw | finish job; job 0; processed node(s) 1
    2021-03-03 14:22:01 m325tracebw | finish backward tracing;;
     node trace backward aggregation temperature pressure consumption job
    1 7 sensor TRUE identity 70 0.588399 20 0
    span 7 sensor TRUE span 0 0.000000 20 0
    median 7 sensor TRUE median 70 0.588399 20 0
    mean 7 sensor TRUE mean 70 0.588399 20 0
    >
    > # Get isomorphic representation of district heating network graph:
    > nx <- pipenostics::m325testbench
    > nx$d <- 1e3*nx$d # convert [m] to [mm]
    >
    > # When tracing large network graphs put screen log to file
    > output <- do.call("m325tracebw", c(as.list(nx), verbose = TRUE))
    
    2021-03-03 14:22:01 m325tracebw | start backward tracing; segments 26;
    2021-03-03 14:22:01 m325tracebw | start job; job 0;
    2021-03-03 14:22:01 m325tracebw | now process; 13 node(s); [1,10,15,17,19,2,21,24,25,26,3,7,9]Error in m325tracebw(sender = c(4L, 4L, 5L, 8L, 6L, 8L, 6L, 11L, 6L, 11L, :
     Assertion on 'all(acceptor[is_processed_pipe] %in% regime[["node"]]) && all(regime[["node"]] %in% acceptor[is_processed_pipe])' failed: Must be TRUE.
    Calls: do.call ... m325tracebw -> <Anonymous> -> makeAssertion -> mstop
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.1.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [70s/70s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     8. └─checkmate::makeAssertion(x, res, .var.name, add)
     9. └─checkmate:::mstop(...)
     ── Error (testm325.R:69:1): (code run outside of `test_that()`) ────────────────
     Error: Assertion on 'all(acceptor[is_processed_pipe] %in% regime[["node"]]) && all(regime[["node"]] %in% acceptor[is_processed_pipe])' failed: Must be TRUE.
     Backtrace:
     █
     1. ├─base::do.call("m325tracebw", nx) testm325.R:69:0
     2. └─pipenostics::m325tracebw(...)
     3. └─checkmate::assert_true(...)
     4. └─checkmate::makeAssertion(x, res, .var.name, add)
     5. └─checkmate:::mstop(...)
    
     [ FAIL 2 | WARN 0 | SKIP 1 | PASS 42 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64