Running ‘run.R’ [33s/67s]
  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
  +       stringsAsFactors=TRUE,  # R4.0 switched this on us
  +       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"
  +       ),
  +       collapse="|"
  +     )
  +     test.res <- test_dir("testthat", filter=filter)
  +     # test.res <- test_dir("testthat", filter="diffPrint")
  +     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       | 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.9 s]
  
  ⠏ |   0       | banner
  ⠋ |   1       | banner
  ⠙ |   2       | banner
  ⠹ |   3       | banner
  ✔ |   3       | banner [0.7 s]
  
  ⠏ |   0       | capture
  ⠋ |   1       | captureError in eval(x, etc@frame) : boom
  In addition: Warning message:
  In options(c(diffobj_set_def_opts(), all.opts)) :
    'options(stringsAsFactors = TRUE)' is deprecated and will be disabled
  Error in match.call(definition, call, expand.dots, envir) : 
    unused argument (x = NULL)
  
  ⠸ |   4       | captureError 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
  Error in file(file, "rt") : cannot open the connection
  
  ✔ |  10       | capture [0.5 s]
  
  ⠏ |   0       | check
  ⠸ |  24       | check
  ⠴ |  26       | check
  ⠧ |  28       | check
  ⠋ |  31       | check
  ⠸ |  34       | check
  ⠴ |  36       | check
  ⠧ |  38       | check
  ⠏ |  40       | check
  ⠙ |  42       | check
  ⠸ |  44       | check
  ✔ |  45       | check [1.5 s]
  
  ⠏ |   0       | Context
  ⠋ |   1       | Context
  ⠙ |   2       | Context
  ⠹ |   3       | Context
  ⠸ |   4       | Context
  ⠼ |   5       | Context
  ⠴ |   6       | Context
  ⠦ |   7       | Context
  ✔ |  10       | Context [1.9 s]
  
  ⠏ |   0       | core
  ⠙ |  22       | core
  ⠹ |  32 1     | core
  ✖ |  33 1     | core [0.3 s]
  ────────────────────────────────────────────────────────────────────────────────
  testthat.core.R:111: failure: print/summary
  `res.1` not identical to structure(...).
  Component "string": Modes: character, numeric
  Component "string": Attributes: < target is NULL, current is list >
  Component "string": target is character, current is factor
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | diffChr
  ⠋ |   1       | diffChr
  ⠙ |   2       | diffChr
  ⠹ |   3       | 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
  ⠙ |  22       | diffChr
  ⠹ |  23       | diffChr
  ⠼ |  25       | diffChr
  ⠴ |  26       | diffChr
  ⠦ |  27       | diffChr
  ⠧ |  28       | diffChr
  ⠇ |  29       | diffChr
  ⠏ |  30       | diffChr
  ✔ |  30       | diffChr [5.2 s]
  
  ⠏ |   0       | diffDeparse
  ⠋ |   1       | diffDeparse
  ⠙ |   2       | diffDeparse
  ✔ |   2       | diffDeparse [0.4 s]
  
  ⠏ |   0       | diffObj
  ⠋ |   1       | diffObj
  ⠙ |   2       | diffObj
  ⠹ |   3       | diffObj
  ⠸ |   4       | diffObj
  ⠼ |   5       | diffObj
  ⠴ |   6       | diffObj
  ⠦ |   7       | diffObjError in print.diffobj_ogewlhgiadfl(structure("goodbye", class = "diffobj_ogewlhgiadfl")) : 
    failure
  
  ⠇ |   9       | diffObj
  ✔ |   9       | diffObj [4.2 s]
  
  ⠏ |   0       | diffPrint
  ⠋ |   1       | 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
  ⠦ |  37       | diffPrint
  ⠧ |  38       | diffPrint
  ⠇ |  39       | diffPrint
  ⠏ |  40       | diffPrint
  ⠋ |  41       | diffPrint
  ⠙ |  42       | diffPrint
  ⠹ |  43       | diffPrint
  ⠸ |  44       | diffPrint
  ⠼ |  45       | diffPrint
  ⠴ |  46       | diffPrint
  ⠦ |  47       | diffPrint
  ⠧ |  48       | diffPrint
  ⠏ |  49     1 | diffPrint
  ⠹ |  52     1 | diffPrint
  ⠸ |  53     1 | diffPrintError in print(1:4) : boom
  Error in print(1:4) : boom2
  
  ⠴ |  55     1 | diffPrint
  ✔ |  55     1 | diffPrint [10.9 s]
  ────────────────────────────────────────────────────────────────────────────────
  testthat.diffPrint.R:237: skip: covr workaround
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | diffStr
  ⠋ |   1       | diffStr
  ⠙ |   2       | diffStr
  ⠹ |   3       | diffStr
  ⠼ |   4     1 | diffStr
  ⠴ |   5     1 | diffStr
  ⠦ |   6     1 | diffStr
  ⠧ |   7     1 | diffStr
  ⠇ |   8     1 | diffStr
  ⠏ |   9     1 | diffStr
  ⠙ |  11     1 | diffStr
  ⠹ |  12     1 | diffStr
  ⠸ |  13     1 | diffStr
  ✔ |  13     1 | diffStr [2.9 s]
  ────────────────────────────────────────────────────────────────────────────────
  testthat.diffStr.R:31: skip: Strict width
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | diffFile
  ⠋ |   1       | diffFile
  ⠸ |   4       | diffFile
  ⠼ |   5       | diffFile
  ⠴ |   6       | diffFile
  ⠦ |   7       | diffFile
  ⠧ |   8       | diffFile
  ⠇ |   9       | diffFile
  ⠏ |  10       | diffFile
  ✔ |  10       | diffFile [2.4 s]
  
  ⠏ |   0       | Guides
  ⠇ |  29       | Guides
  ⠏ |  30       | Guides
  ⠋ |  31       | Guides
  ✔ |  38       | Guides [0.7 s]
  
  ⠏ |   0       | html
  ⠙ |   2       | html
  ⠸ |   4       | html
  ⠼ |   5       | html
  ✔ |  11       | html [0.6 s]
  
  ⠏ |   0       | limits
  ⠋ |   1       | limits
  ⠙ |   2       | limits
  ⠹ |   3       | limits
  ⠸ |   4       | limits
  ⠼ |   5       | limits
  ⠴ |   6       | limits
  ⠦ |   7       | limits
  ⠧ |   8       | limits
  ⠇ |   9       | limits
  ⠏ |  10       | limits
  ⠋ |  11       | limits
  ⠸ |  14       | limits
  ✔ |  14       | limits [2.2 s]
  
  ⠏ |   0       | methods
  ⠋ |   1       | methods
  ⠙ |   2       | methods
  ⠹ |   3       | methods
  ⠸ |   4       | methods
  ✔ |   4       | methods [1.1 s]
  
  ⠏ |   0       | misc
  ⠏ |   9     1 | miscError in funs@gutter(paste0(gutt.dat.format, funs@gutter.pad(text@gutter.pad))) : 
    bad gutters
  
  ⠦ |  26     1 | misc
  ✔ |  29     1 | misc [0.3 s]
  ────────────────────────────────────────────────────────────────────────────────
  testthat.misc.R:61: skip: myers_simple
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | pager
  ⠋ |   1       | pager
  ⠹ |   3       | pager
  ⠋ |  11       | pager
  ⠼ |  25       | pager
  ⠹ |  33       | pager
  ⠼ |  35       | pager
  ⠴ |  36       | pager
  ⠧ |  38       | pager
  ⠇ |  39       | pager
  ⠋ |  41       | pager
  ⠙ |  42       | pager
  ⠼ |  45       | pager
  ⠋ |  51       | pager
  ⠙ |  52       | pager
  ⠼ |  55       | pager
  ⠧ |  58       | pager
  ⠏ |  60       | pager
  ⠋ |  61       | pager
  ⠙ |  62       | pager
  ⠹ |  63       | pager
  ⠸ |  64       | pager
  ✔ |  65       | pager [3.4 s]
  
  ⠏ |   0       | RdiffError in try(as.character(from)) : hello
  Error in try(as.character(to)) : goodbye
  Error in vapply(list(from, to), function(x) { : hello
  
  ⠼ |   5       | Rdiff
  ✔ |   5       | Rdiff [0.2 s]
  
  ⠏ |   0       | w/ diff
  ⠴ |   6       | w/ diff
  ⠇ |   9       | w/ diff
  ✔ |  11       | w/ diff [0.3 s]
  
  ⠏ |   0       | S4
  ⠙ |   1     1 | S4
  ⠹ |   2     1 | S4
  ⠸ |   3     1 | S4
  ✔ |   3     1 | S4 [0.4 s]
  ────────────────────────────────────────────────────────────────────────────────
  testthat.s4.R:6: skip: diff data validation works
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | ses
  ⠼ |  15       | ses
  ⠋ |  21       | sesError in as.character.diffobj_ogewlhgiadfl2(a) : failure2
  Error in as.character.diffobj_ogewlhgiadfl2(b) : failure2
  
  ⠦ |  27       | ses
  ⠧ |  28       | ses
  ✔ |  28       | ses [0.4 s]
  
  ⠏ |   0       | style
  ⠋ |   1       | style
  ⠹ |   3       | style
  ⠴ |   6       | style
  ⠧ |   8       | style
  ⠏ |  10       | style
  ⠋ |  11       | style
  ⠙ |  12       | style
  ⠹ |  13       | style
  ⠼ |  15       | style
  ⠴ |  16       | style
  ⠧ |  18       | style
  ⠏ |  20       | style
  ⠋ |  21       | style
  ⠸ |  24       | style
  ⠴ |  26       | style
  ✔ |  28       | style [6.9 s]
  
  ⠏ |   0       | subset
  ⠋ |   1       | subset
  ⠙ |   2       | subset
  ⠹ |   3       | subset
  ⠸ |   4       | subset
  ⠴ |   6       | subset
  ✔ |  10       | subset [1.1 s]
  
  ⠏ |   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.3 s]
  
  ⠏ |   0       | text
  ⠙ |  22       | text
  ✔ |  23       | text [0.2 s]
  
  ⠏ |   0       | trim
  ⠸ |   4       | trim
  ⠙ |  12       | trim
  ⠹ |  23       | trim
  ⠋ |  31       | trim
  ⠙ |  32       | trim
  ⠸ |  34       | trim
  ⠴ |  36       | trim
  ✔ |  37       | trim [1.0 s]
  
  ⠏ |   0       | warnings
  ⠙ |   2       | warnings
  ⠹ |   3       | warnings
  ⠸ |   4       | warnings
  ⠼ |   5       | warnings
  ⠴ |   6       | warnings
  ⠦ |   7       | warnings
  ✔ |   7       | warnings [1.0 s]
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 64.0 s
  
  OK:       590
  Failed:   1
  Warnings: 0
  Skipped:  4
  Error in eval(substitute(expr), data, enclos = parent.frame()) : 
    Errors: 0 Failures: 1
  Calls: local ... eval -> eval -> with -> with.default -> eval -> eval
  Execution halted