Running 'test-atomic.R' [7s]
  Comparing 'test-atomic.Rout' to 'test-atomic.Rout.save' ... OK
  Running 'test-banner.R' [3s]
  Comparing 'test-banner.Rout' to 'test-banner.Rout.save' ... OK
  Running 'test-capture.R' [1s]
  Comparing 'test-capture.Rout' to 'test-capture.Rout.save' ... OK
  Running 'test-check.R' [1s]
  Comparing 'test-check.Rout' to 'test-check.Rout.save' ... OK
  Running 'test-context.R' [3s]
  Comparing 'test-context.Rout' to 'test-context.Rout.save' ... OK
  Running 'test-core.R' [2s]
  Comparing 'test-core.Rout' to 'test-core.Rout.save' ... OK
  Running 'test-diffChr.R' [4s]
  Comparing 'test-diffChr.Rout' to 'test-diffChr.Rout.save' ... OK
  Running 'test-diffDeparse.R' [1s]
  Comparing 'test-diffDeparse.Rout' to 'test-diffDeparse.Rout.save' ... OK
  Running 'test-diffObj.R' [6s]
  Comparing 'test-diffObj.Rout' to 'test-diffObj.Rout.save' ... OK
  Running 'test-diffPrint.R' [8s]
  Comparing 'test-diffPrint.Rout' to 'test-diffPrint.Rout.save' ... OK
  Running 'test-diffStr.R' [6s]
  Comparing 'test-diffStr.Rout' to 'test-diffStr.Rout.save' ... OK
  Running 'test-file.R' [3s]
  Comparing 'test-file.Rout' to 'test-file.Rout.save' ... OK
  Running 'test-guide.R' [2s]
  Comparing 'test-guide.Rout' to 'test-guide.Rout.save' ... OK
  Running 'test-html.R' [2s]
  Comparing 'test-html.Rout' to 'test-html.Rout.save' ... OK
  Running 'test-limit.R' [2s]
  Comparing 'test-limit.Rout' to 'test-limit.Rout.save' ... OK
  Running 'test-methods.R' [3s]
  Comparing 'test-methods.Rout' to 'test-methods.Rout.save' ... OK
  Running 'test-misc.R' [1s]
  Comparing 'test-misc.Rout' to 'test-misc.Rout.save' ... OK
  Running 'test-pager.R' [4s]
  Comparing 'test-pager.Rout' to 'test-pager.Rout.save' ... OK
  Running 'test-rdiff.R' [2s]
  Comparing 'test-rdiff.Rout' to 'test-rdiff.Rout.save' ... OK
  Running 'test-s4.R' [2s]
  Comparing 'test-s4.Rout' to 'test-s4.Rout.save' ... OK
  Running 'test-scaling.R' [1s]
  Running 'test-ses.R' [3s]
  Comparing 'test-ses.Rout' to 'test-ses.Rout.save' ... OK
  Running 'test-style.R' [1s]
  Running 'test-subset.R' [0s]
  Running 'test-summary.R' [5s]
  Comparing 'test-summary.Rout' to 'test-summary.Rout.save' ...3,5d2
< During startup - Warning messages:
< 1: In (function (n)  : internal error -4 in R_decompress1
< 2: package "methods" in options("defaultPackages") was not found 
  Running 'test-text.R' [2s]
  Comparing 'test-text.Rout' to 'test-text.Rout.save' ... OK
  Running 'test-trim.R' [2s]
  Running 'test-warnings.R' [1s]
  Comparing 'test-warnings.Rout' to 'test-warnings.Rout.save' ... OK
  Running 'zz-test-check.R' [0s]
Running the tests in 'tests/test-style.R' failed.
Complete output:
  > NAME <- "style"
  > source(file.path('_helper', 'init.R'))
  Error: package or namespace load failed for 'diffobj' in (function (n) :
   lazy-load database 'D:/temp/Rtmp2BlGOC/RLIBS_556c54215fd8/diffobj/R/diffobj.rdb' is corrupt
  In addition: Warning message:
  In (function (n)  : internal error -4 in R_decompress1
  Execution halted
Running the tests in 'tests/test-subset.R' failed.
Complete output:
  Error in is.factor(x) : 
    lazy-load database 'D:/RCompile/recent/R/library/base/R/base.rdb' is corrupt
  Calls: options -> grep -> is.factor
  In addition: Warning message:
  In is.factor(x) : internal error -4 in R_decompress1
  Execution halted
Running the tests in 'tests/test-trim.R' failed.
Complete output:
  > NAME <- "trim"
  > source(file.path('_helper', 'init.R'))
  > 
  > .mx.base <- matrix(
  +   c(
  +     "averylongwordthatcanlahblah", "causeasinglewidecolumnblah",
  +     "matrixtowrapseveraltimes", "inarrowscreen", "onceuponatime",
  +     "agreenduckflew", "overthemountains", "inalongofantelopes",
  +     "ineedthreemore", "entriesactually", "nowonlytwomore", "iwaswrongearlier"
  +   ),
  +   nrow=3, ncol=4
  + )
  > 
  > # - Atomic ---------------------------------------------------------------------
  > 
  > set.seed(1)
  > x <- capture.output(1:50)
  > y <- capture.output(factor(sample(letters, 50, replace=TRUE)))
  > 
  > all.equal(
  +   diffobj:::strip_atomic_rh(x),
  +   c(" 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25", "26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50")
  + )
  [1] TRUE
  > all.equal(
  +   diffobj:::strip_atomic_rh(y),
  +   c("g j o x f x y r q b f e r j u m s z j u y f q d g k a j w i m p m e v r u c", "s k v q u o n u a m t s", "Levels: a b c d e f g i j k m n o p q r s t u v w x y z")
  + )
  [1] TRUE
  > all.equal(diffobj:::which_atomic_rh(capture.output(1:5)), 1)
  [1] TRUE
  > 
  > all.equal(as.character(diffPrint(1:3, 2:6, trim=FALSE)), rdsf(50))
  Error in Sys.getenv("TESTTHAT") : 
    could not allocate memory (0 Mb) in C function 'R_AllocStringBuffer'
  Calls: all.equal ... cli_output_connection -> is_interactive -> Sys.getenv
  Execution halted
Running the tests in 'tests/zz-test-check.R' failed.
Complete output:
  > filelist <- function(x, y) paste0(x, paste0("* ", basename(y), collapse="\n"))
  > 
  > test.out <- list.files(pattern="\\.Rout$")
  > if(any(lengths(lapply(test.out, tools::showNonASCIIfile))))
  +   warning(bullets("Some test output files contain non-ASCII:\n", test.out))
  > 
  > targets <- list.files(pattern='\\.Rout\\.save', full.names=TRUE)
  > current <- file.path(dirname(targets), sub('\\.save$', '', basename(targets)))
  > missing <- !file.exists(current)
  > writeLines(getwd())
  d:/Rcompile/CRANpkg/local/4.2/diffobj.Rcheck/tests
  > 
  > if(any(missing))
  +   stop(filelist("Test output files are missing (failed?):\n", current[missing]))
  Error: Test output files are missing (failed?):
  * test-style.Rout
  * test-subset.Rout
  * test-trim.Rout
  Execution halted