CRAN Package Check Results for Package diffobj

Last updated on 2020-02-21 17:47:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 18.38 117.06 135.44 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.3 12.94 94.85 107.79 OK
r-devel-linux-x86_64-fedora-clang 0.2.3 168.78 OK
r-devel-linux-x86_64-fedora-gcc 0.2.3 168.63 OK
r-devel-windows-ix86+x86_64 0.2.3 31.00 165.00 196.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.3 42.00 232.00 274.00 OK
r-patched-linux-x86_64 0.2.3 14.16 109.94 124.10 OK
r-patched-solaris-x86 0.2.3 192.60 OK
r-release-linux-x86_64 0.2.3 14.92 109.09 124.01 OK
r-release-windows-ix86+x86_64 0.2.3 27.00 175.00 202.00 OK
r-release-osx-x86_64 0.2.3 OK
r-oldrel-windows-ix86+x86_64 0.2.3 22.00 168.00 190.00 OK
r-oldrel-osx-x86_64 0.2.3 OK

Check Details

Version: 0.2.3
Check: tests
Result: ERROR
     Running 'run.R' [48s/52s]
     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))
     +
     + 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()))
     + })
     v | OK F W S | Context
    
     / | 0 | Atomic
     - | 1 | Atomic
     \ | 2 | Atomic
     | | 3 | Atomic
     - | 5 | Atomic
     | | 7 | Atomic
     / | 8 | Atomic
     - | 9 | Atomic
     \ | 10 | Atomic
     | | 11 | Atomic
     / | 12 | Atomic
     \ | 14 | Atomic
     / | 16 | Atomic
     - | 17 | Atomic
     | | 19 | Atomic
     / | 20 | Atomic
     \ | 22 | Atomic
     / | 24 | Atomic
     - | 25 | Atomic
     \ | 26 | Atomic
     | | 27 | Atomic
     / | 28 | Atomic
     - | 29 | Atomic
     \ | 30 | Atomic
     | | 31 | Atomic
     - | 33 | Atomic
     | | 35 | Atomic
     - | 37 | Atomic
     v | 38 | Atomic [4.4 s]
    
     / | 0 | banner
     - | 1 | banner
     | | 3 | banner
     v | 3 | banner [0.3 s]
    
     / | 0 | captureError in eval(x, etc@frame) : boom
     In addition: Warning message:
     In RNGkind("Mersenne-Twister", "Inversion", "Rounding") :
     non-uniform 'Rounding' sampler used
     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
    
     | | 7 | captureError 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
    
     v | 10 | capture [0.2 s]
    
     / | 0 | check
     | | 23 | check
     \ | 26 | check
     \ | 30 | check
     \ | 34 | check
     \ | 38 | check
     \ | 42 | check
     - | 45 | check
     v | 45 | check [0.9 s]
    
     / | 0 | Context
     - | 1 | Context
     \ | 2 | Context
     | | 3 | Context
     / | 4 | Context
     - | 5 | Context
     \ | 6 | Context
     / | 8 | Context
     v | 10 | Context [1.1 s]
    
     / | 0 | core
     - | 17 | core
     - | 32 1 | core
     x | 33 1 | core [0.2 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
     \ | 2 | diffChr
     / | 4 | diffChr
     - | 5 | diffChr
     | | 7 | diffChr
     - | 9 | diffChr
     | | 11 | diffChr
     \ | 14 | diffChr
     / | 16 | diffChr
     | | 19 | diffChr
     - | 21 | diffChr
     \ | 22 | diffChr
     / | 24 | diffChr
     \ | 26 | diffChr
     | | 27 | diffChr
     - | 29 | diffChr
     v | 30 | diffChr [3.0 s]
    
     / | 0 | diffDeparse
     \ | 2 | diffDeparse
     v | 2 | diffDeparse [0.2 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
     v | 9 | diffObj [3.1 s]
    
     / | 0 | diffPrint
     - | 1 | diffPrint
     | | 3 | diffPrint
     - | 5 | diffPrint
     \ | 6 | diffPrint
     | | 7 | diffPrint
     - | 9 | diffPrint
     | | 11 | diffPrint
     - | 13 | diffPrint
     \ | 14 | diffPrint
     | | 15 | diffPrint
     / | 16 | diffPrint
     - | 17 | diffPrint
     \ | 18 | diffPrint
     / | 20 | diffPrint
     - | 21 | diffPrint
     | | 23 | diffPrint
     / | 24 | diffPrint
     - | 25 | diffPrint
     \ | 26 | diffPrint
     | | 27 | diffPrint
     / | 28 | diffPrint
     - | 29 | diffPrint
     | | 31 | diffPrint
     - | 33 | diffPrint
     \ | 34 | diffPrint
     | | 35 | diffPrint
     - | 37 | diffPrint
     \ | 38 | diffPrint
     | | 39 | diffPrint
     - | 41 | diffPrint
     \ | 42 | diffPrint
     | | 43 | diffPrint
     / | 44 | diffPrint
     - | 45 | diffPrint
     | | 47 | diffPrint
     \ | 49 1 | diffPrint
     - | 52 1 | diffPrintError in print(1:4) : boom
    
     | | 54 1 | diffPrintError in print(1:4) : boom2
    
     v | 55 1 | diffPrint [6.4 s]
     --------------------------------------------------------------------------------
     testthat.diffPrint.R:237: skip: covr workaround
     Reason: empty test
     --------------------------------------------------------------------------------
    
     / | 0 | diffStr
     - | 1 | diffStr
     \ | 2 | diffStr
     - | 4 1 | diffStr
     \ | 5 1 | diffStr
     | | 6 1 | diffStr
     / | 7 1 | diffStr
     - | 8 1 | diffStr
     \ | 9 1 | diffStr
     | | 10 1 | diffStr
     - | 12 1 | diffStr
     v | 13 1 | diffStr [1.7 s]
     --------------------------------------------------------------------------------
     testthat.diffStr.R:31: skip: Strict width
     Reason: empty test
     --------------------------------------------------------------------------------
    
     / | 0 | diffFile
     - | 1 | diffFile
     / | 4 | diffFile
     \ | 6 | diffFile
     / | 8 | diffFile
     \ | 10 | diffFile
     v | 10 | diffFile [1.1 s]
    
     / | 0 | Guides
     / | 28 | Guides
     \ | 30 | Guides
     - | 33 | Guides
     v | 38 | Guides [0.5 s]
    
     / | 0 | html
     - | 1 | html
     \ | 2 | html
     / | 4 | html
     \ | 6 | html
     v | 11 | html [0.5 s]
    
     / | 0 | limits
     \ | 2 | limits
     | | 3 | limits
     / | 4 | limits
     - | 5 | limits
     \ | 6 | limits
     | | 7 | limits
     / | 8 | limits
     - | 9 | limits
     \ | 10 | limits
     / | 12 | limits
     v | 14 | limits [1.3 s]
    
     / | 0 | methods
     - | 1 | methods
     \ | 2 | methods
     | | 3 | methods
     v | 4 | methods [0.6 s]
    
     / | 0 | misc
     - | 5 | miscError in funs@gutter(paste0(gutt.dat.format, funs@gutter.pad(text@gutter.pad))) :
     bad gutters
    
     / | 27 1 | misc
     v | 29 1 | misc [0.2 s]
     --------------------------------------------------------------------------------
     testthat.misc.R:61: skip: myers_simple
     Reason: empty test
     --------------------------------------------------------------------------------
    
     / | 0 | pager
     \ | 2 | pager
     | | 11 | pager
     \ | 14 | pager
     / | 16 | pager
     / | 20 | pager
     \ | 22 | pager
     | | 23 | pager
     - | 25 | pager
     | | 27 | pager
     - | 33 | pager
     | | 35 | pager
     - | 37 | pager
     | | 39 | pager
     \ | 42 | pager
     - | 45 | pager
     | | 51 | pager
     / | 52 | pager
     | | 55 | pager
     | | 59 | pager
     - | 61 | pager
     | | 63 | pager
     v | 65 | pager [11.1 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
    
     v | 5 | Rdiff
    
     / | 0 | w/ diff
     / | 4 | w/ diff
     / | 8 | w/ diff
     v | 11 | w/ diff [0.3 s]
    
     / | 0 | S4
     \ | 1 1 | S4
     / | 3 1 | S4
     v | 3 1 | S4 [0.3 s]
     --------------------------------------------------------------------------------
     testthat.s4.R:6: skip: diff data validation works
     Reason: empty test
     --------------------------------------------------------------------------------
    
     / | 0 | ses
     / | 16 | sesError in as.character.diffobj_ogewlhgiadfl2(a) : failure2
    
     \ | 26 | sesError in as.character.diffobj_ogewlhgiadfl2(b) : failure2
    
     / | 28 | ses
     v | 28 | ses [0.4 s]
    
     / | 0 | style
     - | 1 | style
     \ | 6 | style
     | | 11 | style
     \ | 14 | style
     / | 16 | style
     | | 19 | style
     / | 20 | style
     \ | 22 | style
     \ | 26 | style
     v | 28 | style [4.4 s]
    
     / | 0 | subset
     - | 1 | subset
     \ | 2 | subset
     | | 3 | subset
     | | 7 | subset
     v | 10 | subset [0.6 s]
    
     / | 0 | summary
     \ | 2 | summary
     / | 4 | summary
     \ | 6 | summary
     | | 7 | summary
     \ | 10 | summary
     | | 11 | summary
     / | 12 | summary
     - | 13 | summary
     \ | 14 | summary
     | | 15 | summary
     | | 19 | summary
     v | 19 | summary [3.4 s]
    
     / | 0 | text
     v | 23 | text
    
     / | 0 | trim
     / | 12 | trim
     / | 28 | trim
     | | 31 | trim
     \ | 34 | trim
     v | 37 | trim [0.6 s]
    
     / | 0 | warnings
     \ | 2 | warnings
     - | 5 | warnings
     v | 7 | warnings [0.4 s]
    
     == Results =====================================================================
     Duration: 48.2 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
Flavor: r-devel-linux-x86_64-debian-clang