Running ‘run.R’ [32s/65s]
  Running ‘scaling.R’ [0s/1s]
Running the tests in ‘tests/run.R’ failed.
Complete output:
  > # Run tests
  > 
  > if(!require(testthat)) stop("`testthat` must be available to run tests.")
  Loading required package: testthat
  > library(diffobj)
  > 
  > local({                                         # so we can use `on.exit`
  +   # options that can't be reset to NULL...
  + 
  +   no.null.opts <- c(
  +     "warnPartialMatchArgs", "warnPartialMatchAttr", "warnPartialMatchDollar"
  +   )
  +   no.null.opt.list <- Map(getOption, no.null.opts)
  +   no.null.nulls <- vapply(no.null.opt.list, is.null, logical(1L))
  +   no.null.opt.list[no.null.nulls] <- FALSE
  +   all.opts <- c(
  +     list(
  +       useFancyQuotes=FALSE,   # all.equals uses fancy quotes
  +       diffobj.format="ansi8", # force ANSI colors
  +       diffobj.color.mode="yb",# force yb
  +       diffobj.pager="off",    # run tests without pager
  +       width=80L,
  +       encoding="UTF-8"        # so Gabor's name renders properly on win...
  +     )
  +   )
  +   old.opts <- options(c(diffobj_set_def_opts(), all.opts))
  +   options(
  +     warnPartialMatchArgs=TRUE,
  +     warnPartialMatchAttr=TRUE,
  +     warnPartialMatchDollar=TRUE
  +   )
  +   old.opts <- c(old.opts, no.null.opt.list)
  + 
  +   on.exit(options(old.opts))
  + 
  +   suppressWarnings(RNGversion("3.5.2"));
  + 
  +   valgrind <- FALSE
  +   if(!valgrind) {
  +     filter <- paste0(           # so we can run subset of files
  +       c(
  +         "atomic",
  +         "banner",
  +         "capture",
  +         "check",
  +         "context",
  +         "core",
  +         "diffChr",
  +         "diffDeparse",
  +         "diffObj",
  +         "diffPrint",
  +         "diffStr",
  +         "file",
  +         "guide",
  +         "html",
  +         "limit",
  +         "methods",
  +         "misc",
  +         if(nchar(Sys.getenv('NOT_CRAN'))) "notcran",
  +         "pager",
  +         "rdiff",
  +         "s4",
  +         "ses",     # run this file only for valgrind
  +         "style",
  +         "subset",
  +         "summary",
  +         "text",
  +         "trim",
  +         "warning",
  +         NULL
  +       ),
  +       collapse="|"
  +     )
  +     test.res <- test_dir("testthat", filter=filter)
  +     # test.res <- test_dir("testthat", filter="style")
  +     with(
  +       as.data.frame(test.res), {
  +         fail <- sum(failed)
  +         err <- sum(error)
  +         if(fail != 0 || err) stop("Errors: ", err, " Failures: ", fail)
  +     })
  +   } else {
  +     source('valgrind/tests-valgrind.R')
  +   }
  +   RNGversion(as.character(getRversion()))
  + })
  ✔ |  OK F W S | Context
  
  ⠏ |   0       | testthat.atomic                                                 
  ⠏ |   0       | Atomic                                                          
  ⠋ |   1       | Atomic                                                          
  ⠙ |   2       | Atomic                                                          
  ⠹ |   3       | Atomic                                                          
  ⠸ |   4       | Atomic                                                          
  ⠼ |   5       | Atomic                                                          
  ⠴ |   6       | Atomic                                                          
  ⠦ |   7       | Atomic                                                          
  ⠧ |   8       | Atomic                                                          
  ⠇ |   9       | Atomic                                                          
  ⠏ |  10       | Atomic                                                          
  ⠋ |  11       | Atomic                                                          
  ⠙ |  12       | Atomic                                                          
  ⠹ |  13       | Atomic                                                          
  ⠸ |  14       | Atomic                                                          
  ⠼ |  15       | Atomic                                                          
  ⠴ |  16       | Atomic                                                          
  ⠦ |  17       | Atomic                                                          
  ⠧ |  18       | Atomic                                                          
  ⠇ |  19       | Atomic                                                          
  ⠏ |  20       | Atomic                                                          
  ⠋ |  21       | Atomic                                                          
  ⠙ |  22       | Atomic                                                          
  ⠹ |  23       | Atomic                                                          
  ⠸ |  24       | Atomic                                                          
  ⠼ |  25       | Atomic                                                          
  ⠴ |  26       | Atomic                                                          
  ⠦ |  27       | Atomic                                                          
  ⠧ |  28       | Atomic                                                          
  ⠇ |  29       | Atomic                                                          
  ⠏ |  30       | Atomic                                                          
  ⠋ |  31       | Atomic                                                          
  ⠙ |  32       | Atomic                                                          
  ⠹ |  33       | Atomic                                                          
  ⠸ |  34       | Atomic                                                          
  ⠼ |  35       | Atomic                                                          
  ⠴ |  36       | Atomic                                                          
  ⠦ |  37       | Atomic                                                          
  ⠧ |  38       | Atomic                                                          
  ✔ |  38       | Atomic [7.2 s]
  
  ⠏ |   0       | testthat.banner                                                 
  ⠏ |   0       | banner                                                          
  ⠋ |   1       | banner                                                          
  ⠙ |   2       | banner                                                          
  ⠹ |   3       | banner                                                          
  ✔ |   3       | banner [0.6 s]
  
  ⠏ |   0       | testthat.capture                                                
  ⠏ |   0       | capture                                                         Error in eval(x, etc@frame) : boom
  
  ⠹ |   3       | capture                                                         Error in match.call(definition, call, expand.dots, envir) : 
    unused argument (x = NULL)
  Error in do.call(deparse, c(list(target), extra), quote = TRUE) : a
  Error in file(con, "r") : cannot open the connection
  Error in file(con, "r") : cannot open the connection
  Error in file(file, "rt") : cannot open the connection
  
  ⠇ |   9       | capture                                                         Error in file(file, "rt") : cannot open the connection
  
  ✔ |  12       | capture [0.3 s]
  
  ⠏ |   0       | testthat.check                                                  
  ⠏ |   0       | check                                                           
  ⠋ |  21       | check                                                           
  ⠼ |  25       | check                                                           
  ⠧ |  28       | check                                                           
  ⠙ |  32       | check                                                           
  ⠼ |  35       | check                                                           
  ⠧ |  38       | check                                                           
  ⠋ |  41       | check                                                           
  ⠸ |  44       | check                                                           
  ✔ |  46       | check [1.2 s]
  
  ⠏ |   0       | testthat.context                                                
  ⠏ |   0       | Context                                                         
  ⠋ |   1       | Context                                                         
  ⠙ |   2       | Context                                                         
  ⠹ |   3       | Context                                                         
  ⠸ |   4       | Context                                                         
  ⠼ |   5       | Context                                                         
  ⠴ |   6       | Context                                                         
  ⠦ |   7       | Context                                                         
  ⠧ |   8       | Context                                                         
  ✔ |  10       | Context [2.1 s]
  
  ⠏ |   0       | testthat.core                                                   
  ⠏ |   0       | core                                                            
  ⠇ |  29       | core                                                            
  ✔ |  34       | core [0.2 s]
  
  ⠏ |   0       | testthat.diffChr                                                
  ⠏ |   0       | diffChr                                                         
  ⠋ |   1       | diffChr                                                         
  ⠙ |   2       | diffChr                                                         
  ⠸ |   4       | diffChr                                                         
  ⠼ |   5       | diffChr                                                         
  ⠴ |   6       | diffChr                                                         
  ⠦ |   7       | diffChr                                                         
  ⠧ |   8       | diffChr                                                         
  ⠇ |   9       | diffChr                                                         
  ⠏ |  10       | diffChr                                                         
  ⠋ |  11       | diffChr                                                         
  ⠹ |  13       | diffChr                                                         
  ⠼ |  15       | diffChr                                                         
  ⠴ |  16       | diffChr                                                         
  ⠧ |  18       | diffChr                                                         
  ⠇ |  19       | diffChr                                                         
  ⠏ |  20       | diffChr                                                         
  ⠋ |  21       | diffChr                                                         
  ⠹ |  23       | diffChr                                                         
  ⠼ |  25       | diffChr                                                         
  ⠴ |  26       | diffChr                                                         
  ⠧ |  28       | diffChr                                                         
  ⠇ |  29       | diffChr                                                         
  ⠏ |  30       | diffChr                                                         
  ⠋ |  31       | diffChr                                                         
  ✔ |  31       | diffChr [4.3 s]
  
  ⠏ |   0       | testthat.diffDeparse                                            
  ⠏ |   0       | diffDeparse                                                     
  ⠋ |   1       | diffDeparse                                                     
  ⠙ |   2       | diffDeparse                                                     
  ✔ |   2       | diffDeparse [0.2 s]
  
  ⠏ |   0       | testthat.diffObj                                                
  ⠏ |   0       | diffObj                                                         
  ⠋ |   1       | diffObj                                                         
  ⠙ |   2       | diffObj                                                         
  ⠹ |   3       | diffObj                                                         
  ⠸ |   4       | diffObj                                                         
  ⠼ |   5       | diffObj                                                         
  ⠴ |   6       | diffObj                                                         
  ⠦ |   7       | diffObj                                                         Error in print.diffobj_ogewlhgiadfl(structure("goodbye", class = "diffobj_ogewlhgiadfl")) : 
    failure
  
  ⠇ |   9       | diffObj                                                         
  ✔ |   9       | diffObj [4.1 s]
  
  ⠏ |   0       | testthat.diffPrint                                              
  ⠏ |   0       | diffPrint                                                       
  ⠋ |   1       | diffPrint                                                       
  ⠙ |   2       | diffPrint                                                       
  ⠹ |   3       | diffPrint                                                       
  ⠸ |   4       | diffPrint                                                       
  ⠼ |   5       | diffPrint                                                       
  ⠴ |   6       | diffPrint                                                       
  ⠦ |   7       | diffPrint                                                       
  ⠧ |   8       | diffPrint                                                       
  ⠇ |   9       | diffPrint                                                       
  ⠏ |  10       | diffPrint                                                       
  ⠋ |  11       | diffPrint                                                       
  ⠙ |  12       | diffPrint                                                       
  ⠹ |  13       | diffPrint                                                       
  ⠸ |  14       | diffPrint                                                       
  ⠼ |  15       | diffPrint                                                       
  ⠴ |  16       | diffPrint                                                       
  ⠦ |  17       | diffPrint                                                       
  ⠧ |  18       | diffPrint                                                       
  ⠇ |  19       | diffPrint                                                       
  ⠏ |  20       | diffPrint                                                       
  ⠋ |  21       | diffPrint                                                       
  ⠙ |  22       | diffPrint                                                       
  ⠹ |  23       | diffPrint                                                       
  ⠸ |  24       | diffPrint                                                       
  ⠼ |  25       | diffPrint                                                       
  ⠴ |  26       | diffPrint                                                       
  ⠦ |  27       | diffPrint                                                       
  ⠧ |  28       | diffPrint                                                       
  ⠇ |  29       | diffPrint                                                       
  ⠏ |  30       | diffPrint                                                       
  ⠋ |  31       | diffPrint                                                       
  ⠙ |  32       | diffPrint                                                       
  ⠹ |  33       | diffPrint                                                       
  ⠸ |  34       | diffPrint                                                       
  ⠼ |  35       | diffPrint                                                       
  ⠴ |  36       | diffPrint                                                       
  ⠦ |  37       | diffPrint                                                       
  ⠧ |  38       | diffPrint                                                       
  ⠇ |  39       | diffPrint                                                       
  ⠏ |  40       | diffPrint                                                       
  ⠋ |  41       | diffPrint                                                       
  ⠙ |  42       | diffPrint                                                       
  ⠹ |  43       | diffPrint                                                       
  ⠸ |  44       | diffPrint                                                       
  ⠼ |  45       | diffPrint                                                       
  ⠴ |  46       | diffPrint                                                       
  ⠦ |  47       | diffPrint                                                       
  ⠇ |  48     1 | diffPrint                                                       
  ⠏ |  49     1 | diffPrint                                                       
  ⠹ |  52     1 | diffPrint                                                       
  ⠸ |  53     1 | diffPrint                                                       Error in print(1:4) : boom
  
  ⠼ |  54     1 | diffPrint                                                       Error in print(1:4) : boom2
  
  ⠴ |  55     1 | diffPrint                                                       
  ✔ |  55     1 | diffPrint [11.4 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.diffPrint.R:237:1): covr workaround
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.diffStr                                                
  ⠏ |   0       | diffStr                                                         
  ⠋ |   1       | diffStr                                                         
  ⠙ |   2       | diffStr                                                         
  ⠹ |   3       | diffStr                                                         
  ⠸ |   4       | diffStr                                                         
  ⠼ |   5       | diffStr                                                         
  ⠴ |   6       | diffStr                                                         
  ⠦ |   7       | diffStr                                                         
  ⠧ |   8       | diffStr                                                         
  ⠇ |   9       | diffStr                                                         
  ⠏ |  10       | diffStr                                                         
  ⠋ |  11       | diffStr                                                         
  ⠙ |  12       | diffStr                                                         
  ⠹ |  13       | diffStr                                                         
  ⠸ |  14       | diffStr                                                         
  ⠼ |  15       | diffStr                                                         
  ✔ |  15       | diffStr [4.3 s]
  
  ⠏ |   0       | testthat.file                                                   
  ⠏ |   0       | diffFile                                                        
  ⠋ |   1       | diffFile                                                        
  ⠸ |   4       | diffFile                                                        
  ⠼ |   5       | diffFile                                                        
  ⠴ |   6       | diffFile                                                        
  ⠦ |   7       | diffFile                                                        
  ⠧ |   8       | diffFile                                                        
  ⠇ |   9       | diffFile                                                        
  ⠏ |  10       | diffFile                                                        
  ✔ |  10       | diffFile [2.0 s]
  
  ⠏ |   0       | testthat.guide                                                  
  ⠏ |   0       | Guides                                                          
  ⠋ |  21       | Guides                                                          
  ⠇ |  29       | Guides                                                          
  ⠏ |  30       | Guides                                                          
  ⠋ |  31       | Guides                                                          
  ✔ |  38       | Guides [0.7 s]
  
  ⠏ |   0       | testthat.html                                                   
  ⠏ |   0       | html                                                            
  ⠋ |   1       | html                                                            
  ⠙ |   2       | html                                                            
  ⠹ |   3       | html                                                            
  ⠸ |   4       | html                                                            
  ⠼ |   5       | html                                                            
  ✔ |  12       | html [0.7 s]
  
  ⠏ |   0       | testthat.limit                                                  
  ⠏ |   0       | limits                                                          
  ⠋ |   1       | limits                                                          
  ⠹ |   3       | limits                                                          
  ⠸ |   4       | limits                                                          
  ⠼ |   5       | limits                                                          
  ⠴ |   6       | limits                                                          
  ⠦ |   7       | limits                                                          
  ⠧ |   8       | limits                                                          
  ⠇ |   9       | limits                                                          
  ⠏ |  10       | limits                                                          
  ⠋ |  11       | limits                                                          
  ⠹ |  13       | limits                                                          
  ✔ |  14       | limits [2.2 s]
  
  ⠏ |   0       | testthat.methods                                                
  ⠏ |   0       | methods                                                         
  ⠋ |   1       | methods                                                         
  ⠙ |   2       | methods                                                         
  ⠹ |   3       | methods                                                         
  ⠸ |   4       | methods                                                         
  ✔ |   4       | methods [0.9 s]
  
  ⠏ |   0       | testthat.misc                                                   
  ⠏ |   0       | misc                                                            
  ⠋ |  10     1 | misc                                                            Error in funs@gutter(paste0(gutt.dat.format, funs@gutter.pad(text@gutter.pad))) : 
    bad gutters
  
  ⠦ |  26     1 | misc                                                            
  ✔ |  29     1 | misc [0.3 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.misc.R:61:1): myers_simple
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.pager                                                  
  ⠏ |   0       | pager                                                           
  ⠋ |   1       | pager                                                           
  ⠙ |   2       | pager                                                           
  ⠋ |  11       | pager                                                           
  ⠸ |  24       | pager                                                           
  ⠙ |  32       | pager                                                           
  ⠸ |  34       | pager                                                           
  ⠴ |  36       | pager                                                           
  ⠦ |  37       | pager                                                           
  ⠧ |  38       | pager                                                           
  ⠏ |  40       | pager                                                           
  ⠋ |  41       | pager                                                           
  ⠙ |  42       | pager                                                           
  ⠸ |  44       | pager                                                           
  ⠏ |  50       | pager                                                           
  ⠋ |  51       | pager                                                           
  ⠸ |  54       | pager                                                           
  ⠴ |  56       | pager                                                           
  ⠧ |  58       | pager                                                           
  ⠏ |  60       | pager                                                           
  ⠋ |  61       | pager                                                           
  ⠙ |  62       | pager                                                           
  ⠹ |  63       | pager                                                           
  ✔ |  64       | pager [3.3 s]
  
  ⠏ |   0       | testthat.rrdiff                                                 
  ⠏ |   0       | Rdiff                                                           Error in try(as.character(from)) : hello
  Error in try(as.character(to)) : goodbye
  Error in vapply(list(from, to), function(x) { : hello
  
  ✔ |   5       | Rdiff [0.1 s]
  
  ⠏ |   0       | w/ diff                                                         
  ⠸ |   4       | w/ diff                                                         
  ⠧ |   8       | w/ diff                                                         
  ⠋ |  11       | w/ diff                                                         
  ✔ |  11       | w/ diff [0.4 s]
  
  ⠏ |   0       | testthat.s4                                                     
  ⠏ |   0       | S4                                                              
  ⠙ |   1     1 | S4                                                              
  ⠹ |   2     1 | S4                                                              
  ⠸ |   3     1 | S4                                                              
  ✔ |   3     1 | S4 [0.4 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.s4.R:6:1): diff data validation works
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.ses                                                    
  ⠏ |   0       | ses                                                             
  ⠼ |  15       | ses                                                             
  ⠙ |  22       | ses                                                             Error in as.character.diffobj_ogewlhgiadfl2(a) : failure2
  Error in as.character.diffobj_ogewlhgiadfl2(b) : failure2
  
  ⠧ |  28       | ses                                                             
  ✔ |  35       | ses [0.5 s]
  
  ⠏ |   0       | testthat.style                                                  
  ⠏ |   0       | style                                                           
  ⠋ |   1       | style                                                           
  ⠹ |   3       | style                                                           
  ⠴ |   6       | style                                                           
  ⠧ |   7 1     | style                                                           
  ⠏ |   8 2     | style                                                           
  ⠋ |   9 2     | style                                                           
  ⠙ |  10 2     | style                                                           
  ⠸ |  12 2     | style                                                           
  ⠴ |  14 2     | style                                                           
  ⠦ |  15 2     | style                                                           
  ⠇ |  17 2     | style                                                           
  ⠏ |  18 2     | style                                                           
  ⠋ |  19 2     | style                                                           
  ⠴ |  24 2     | style                                                           
  ✖ |  26 2     | style [6.5 s]
  ────────────────────────────────────────────────────────────────────────────────
  FAILURE (testthat.style.R:42:3): Palette Subset
  c(p.o.s["ansi256", "light", "yb"]@data) not equal to list(StyleRaw()).
  Component 1: Attributes: < Component 9: Attributes: < Component 7: Component 1: target is not list-like > >
  
  FAILURE (testthat.style.R:43:3): Palette Subset
  p.o.s[["ansi256", "light", "yb"]] not equal to StyleRaw().
  Attributes: < Component "pager": Attributes: < Component "pager": Component "...": target is not list-like > >
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.subset                                                 
  ⠏ |   0       | subset                                                          
  ⠋ |   1       | subset                                                          
  ⠙ |   2       | subset                                                          
  ⠹ |   3       | subset                                                          
  ⠸ |   4       | subset                                                          
  ⠦ |   7       | subset                                                          
  ✔ |  10       | subset [0.7 s]
  
  ⠏ |   0       | testthat.summary                                                
  ⠏ |   0       | summary                                                         
  ⠋ |   1       | summary                                                         
  ⠙ |   2       | summary                                                         
  ⠸ |   4       | summary                                                         
  ⠼ |   5       | summary                                                         
  ⠴ |   6       | summary                                                         
  ⠦ |   7       | summary                                                         
  ⠧ |   8       | summary                                                         
  ⠇ |   9       | summary                                                         
  ⠏ |  10       | summary                                                         
  ⠋ |  11       | summary                                                         
  ⠙ |  12       | summary                                                         
  ⠹ |  13       | summary                                                         
  ⠸ |  14       | summary                                                         
  ⠼ |  15       | summary                                                         
  ⠴ |  16       | summary                                                         
  ⠇ |  19       | summary                                                         
  ✔ |  19       | summary [4.2 s]
  
  ⠏ |   0       | testthat.text                                                   
  ⠏ |   0       | text                                                            
  ⠙ |  22       | text                                                            
  ✔ |  23       | text [0.1 s]
  
  ⠏ |   0       | testthat.trim                                                   
  ⠏ |   0       | trim                                                            
  ⠸ |   4       | trim                                                            
  ⠧ |  18       | trim                                                            
  ⠏ |  30       | trim                                                            
  ⠋ |  31       | trim                                                            
  ⠙ |  32       | trim                                                            
  ⠴ |  36       | trim                                                            
  ✔ |  37       | trim [1.2 s]
  
  ⠏ |   0       | testthat.warnings                                               
  ⠏ |   0       | warnings                                                        
  ⠋ |   1       | warnings                                                        
  ⠙ |   2       | warnings                                                        
  ⠸ |   4       | warnings                                                        
  ⠴ |   6       | warnings                                                        
  ✔ |   7       | warnings [0.7 s]
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 61.7 s
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● empty test (3)
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 602 ]
  Error: Test failures
  Execution halted