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