* using log directory 'd:/Rcompile/CRANpkg/local/3.6/pipenostics.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'pipenostics/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pipenostics' version '0.1.7' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'pipenostics' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... 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-05-14 07:34:37 m325tracebw | start backward tracing; segments 1; 2021-05-14 07:34:37 m325tracebw | start job; job 0; 2021-05-14 07:34:37 m325tracebw | now process; 1 node(s); [7] 2021-05-14 07:34:37 m325tracebw | trace temperature;; 2021-05-14 07:34:37 m325tracebw | trace pressure;; 2021-05-14 07:34:37 m325tracebw | finish job; job 0; processed node(s) 1 2021-05-14 07:34:37 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-05-14 07:34:38 m325tracebw | start backward tracing; segments 26; 2021-05-14 07:34:38 m325tracebw | start job; job 0; 2021-05-14 07:34:38 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 -> -> makeAssertion -> mstop Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [74s] ERROR Running 'testthat.R' [74s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pipenostics) > > test_check("pipenostics") 2021-05-14 07:35:45 m325tracebw | start backward tracing; segments 26; 2021-05-14 07:35:45 m325tracebw | start job; job 0; 2021-05-14 07:35:45 m325tracebw | now process; 13 node(s); [1,10,15,17,19,2,21,24,25,26,3,7,9] pipenostics::mepof: process case [1/4] - 25 % processed. pipenostics::mepof: process case [2/4] - 50 % processed. pipenostics::mepof: process case [3/4] - 75 % processed. pipenostics::mepof: process case [4/4] - 100 % . All done, thanks! pipenostics::mepof: process case [1/1] - 100 % . All done, thanks! pipenostics::mepof: process case [1/1] - 100 % . All done, thanks! == Skipped tests =============================================================== * On CRAN (1) == Failed tests ================================================================ -- Error (testm325.R:25:3): *m325traceline* errs in tracing regime parameters -- Error: Assertion on 'laying' failed: Must be a subset of {'air','channel','room','tunnel','underground'}, but is {'underground'}. Backtrace: x 1. \-pipenostics::m325traceline(...) testm325.R:25:2 2. +-base::with(...) 3. \-base::with.default(...) 4. \-base::eval(substitute(expr), data, enclos = parent.frame()) 5. \-base::eval(substitute(expr), data, enclos = parent.frame()) 6. \-pipenostics::m325dropt(...) 7. \-checkmate::assert_subset(...) 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: x 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 * checking PDF version of manual ... OK * DONE Status: 2 ERRORs