CRAN Package Check Results for Package prof.tree

Last updated on 2022-09-06 08:52:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.27 29.72 31.99 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 49.38 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 47.59 OK
r-devel-windows-x86_64 0.1.0 16.00 65.00 81.00 OK
r-patched-linux-x86_64 0.1.0 2.14 28.34 30.48 OK
r-release-linux-x86_64 0.1.0 1.66 28.70 30.36 OK
r-release-macos-arm64 0.1.0 16.00 OK
r-release-macos-x86_64 0.1.0 24.00 OK
r-release-windows-x86_64 0.1.0 16.00 61.00 77.00 OK
r-oldrel-macos-arm64 0.1.0 20.00 OK
r-oldrel-macos-x86_64 0.1.0 30.00 OK
r-oldrel-windows-ix86+x86_64 0.1.0 6.00 53.00 59.00 ERROR

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [4s/5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(prof.tree)
     >
     > test_check("prof.tree")
     levelName real percent env
     1 * 0.170 100.0 %
     2 <U+00A6>--`summary` 0.157 92.4 % base
     3 <U+00A6> <U+00A6>--`glm` 0.128 75.3 % stats
     4 <U+00A6> <U+00A6> °--... 8 nodes w/ 143 sub NA
     5 <U+00A6> <U+00A6>--`lazyLoadDBfetch` 0.002 1.2 % base
     6 <U+00A6> °--`summary.glm` 0.025 14.7 % stats
     7 <U+00A6> °--... 7 nodes w/ 13 sub NA
     8 °--`data.frame` 0.013 7.6 % base
     9 <U+00A6>--`as.data.frame` 0.009 5.3 % base
     10 <U+00A6> °--... 1 nodes w/ 15 sub NA
     11 <U+00A6>--`unlist` 0.001 0.6 % base
     12 <U+00A6>--`make.names` 0.001 0.6 % base
     13 °--`as.list` 0.001 0.6 % base
     [ FAIL 6 | WARN 12 | SKIP 0 | PASS 27 ]
    
     == Failed tests ================================================================
     -- Failure (test-print.R:11:5): Print contains ---------------------------------
     `print\(tree\)` does not match "levelName".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "levelName") at test-print.R:11:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-print.R:12:5): Print contains ---------------------------------
     `print\(tree\)` does not match "real".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "real") at test-print.R:12:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-print.R:13:5): Print contains ---------------------------------
     `print\(tree\)` does not match "percent".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "percent") at test-print.R:13:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-print.R:14:5): Print contains ---------------------------------
     `print\(tree\)` does not match "env".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "env") at test-print.R:14:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-print.R:15:5): Print contains ---------------------------------
     `print\(tree\)` does not match " *".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), " *") at test-print.R:15:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-print.R:16:5): Print contains ---------------------------------
     `print\(tree\)` does not match "100.0 %".
     Actual value: " levelName real percent env\\n1 \* 0\.170 100\.0 % \\n2 <U\+00A6>--`summary` 0\.157 92\.4 % base\\n3 <U\+00A6> <U\+00A6>--`glm` 0\.128 75\.3 % stats\\n4 <U\+00A6> <U\+00A6> \\xb0--\.\.\. 8 nodes w/ 143 sub NA \\n5 <U\+00A6> <U\+00A6>--`lazyLoadDBfetch` 0\.002 1\.2 % base\\n6 <U\+00A6> \\xb0--`summary\.glm` 0\.025 14\.7 % stats\\n7 <U\+00A6> \\xb0--\.\.\. 7 nodes w/ 13 sub NA \\n8 \\xb0--`data\.frame` 0\.013 7\.6 % base\\n9 <U\+00A6>--`as\.data\.frame` 0\.009 5\.3 % base\\n10 <U\+00A6> \\xb0--\.\.\. 1 nodes w/ 15 sub NA \\n11 <U\+00A6>--`unlist` 0\.001 0\.6 % base\\n12 <U\+00A6>--`make\.names` 0\.001 0\.6 % base\\n13 \\xb0--`as\.list` 0\.001 0\.6 % base"
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "100.0 %") at test-print.R:16:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
    
     [ FAIL 6 | WARN 12 | SKIP 0 | PASS 27 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(prof.tree)
     >
     > test_check("prof.tree")
     levelName real percent env
     1 * 0.170 100.0 %
     2 ¦--`summary` 0.157 92.4 % base
     3 ¦ ¦--`glm` 0.128 75.3 % stats
     4 ¦ ¦ °--... 8 nodes w/ 143 sub NA
     5 ¦ ¦--`lazyLoadDBfetch` 0.002 1.2 % base
     6 ¦ °--`summary.glm` 0.025 14.7 % stats
     7 ¦ °--... 7 nodes w/ 13 sub NA
     8 °--`data.frame` 0.013 7.6 % base
     9 ¦--`as.data.frame` 0.009 5.3 % base
     10 ¦ °--... 1 nodes w/ 15 sub NA
     11 ¦--`unlist` 0.001 0.6 % base
     12 ¦--`make.names` 0.001 0.6 % base
     13 °--`as.list` 0.001 0.6 % base
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ]
    
     == Failed tests ================================================================
     -- Error (test-print.R:11:5): Print contains -----------------------------------
     Error in `gsub(paste0("([\\", paste0(collapse = "\\", chars), "])"), "\\\\\\1",
     x, perl = TRUE)`: input string 1 is invalid UTF-8
     Backtrace:
     x
     1. \-testthat::expect_output(print(tree), "levelName") at test-print.R:11:4
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     4. +-base::paste0(...)
     5. \-testthat (local) escape(encodeString(act$val))
     6. \-base::gsub(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64