Running ‘Arguments-FILES.R’ [0s/0s]
  Running ‘FileProgressBar.R’ [1s/2s]
  Running ‘GString.R’ [0s/0s]
  Running ‘Java.R’ [0s/0s]
  Running ‘MultiVerbose.R’ [0s/0s]
  Running ‘NullVerbose.R’ [0s/0s]
  Running ‘Options.R’ [0s/0s]
  Running ‘ProgressBar.R’ [1s/1s]
  Running ‘Settings.R’ [0s/0s]
  Running ‘System.R’ [0s/0s]
  Running ‘TextStatusBar.R’ [0s/0s]
  Running ‘VComments.R’ [0s/0s]
  Running ‘Verbose.R’ [0s/0s]
  Running ‘absolute-relative-paths.R’ [0s/0s]
  Running ‘attachLocally.R’ [0s/0s]
  Running ‘callHooks.R’ [0s/0s]
  Running ‘capitalize.R’ [0s/0s]
  Running ‘captureOutput.R’ [0s/0s]
  Running ‘cmdArgs.R’ [0s/0s]
  Running ‘colClasses.R’ [0s/0s]
  Running ‘commandArgs.R’ [1s/1s]
  Running ‘compressFile.R’ [0s/0s]
  Running ‘compressPDF.R’ [7s/7s]
  Running ‘copyRenameFile.R’ [0s/0s]
  Running ‘countLines.R’ [0s/0s]
  Running ‘cout.R’ [0s/0s]
  Running ‘createFileAtomically.R’ [0s/0s]
  Running ‘createLink.R’ [0s/0s]
  Running ‘dataFrame.R’ [0s/0s]
  Running ‘dimNA.R’ [0s/0s]
  Running ‘displayCode.R’ [0s/0s]
  Running ‘doCall.R’ [0s/0s]
  Running ‘eget.R’ [0s/0s]
  Running ‘egsub.R’ [0s/0s]
  Running ‘env.R’ [0s/0s]
  Running ‘extract.array.R’ [0s/0s]
  Running ‘fileAccess.R’ [0s/0s]
  Running ‘filePath.R’ [0s/0s]
  Running ‘findFiles.R’ [0s/0s]
  Running ‘findSourceTraceback.R’ [0s/0s]
  Running ‘gcDLLs.R’ [0s/0s]
  Running ‘gcat.R’ [0s/0s]
  Running ‘getOption.R’ [0s/0s]
  Running ‘getParent.R’ [0s/0s]
  Running ‘hpaste.R’ [0s/0s]
  Running ‘insert.R’ [0s/0s]
  Running ‘intToHex.R’ [0s/0s]
  Running ‘isPackageLoaded.R’ [0s/0s]
  Running ‘isReplicated.R’ [1s/1s]
  Running ‘isUrl.R’ [0s/0s]
  Running ‘isZero.R’ [0s/0s]
  Running ‘listDirectory.R’ [1s/1s]
  Running ‘loadObject.R’ [0s/0s]
  Running ‘loadToEnv.R’ [0s/0s]
  Running ‘mkdirs.R’ [0s/0s]
  Running ‘mout.R’ [0s/0s]
  Running ‘mpager.R’ [0s/0s]
  Running ‘nullfile.R’ [0s/0s]
  Running ‘parseRepos.R’ [0s/0s]
  Running ‘pushBackupFile.R’ [0s/0s]
  Running ‘pushTemporaryFile.R’ [0s/0s]
  Running ‘queryRCmdCheck.R’ [0s/0s]
  Running ‘readBinFragments.R’ [0s/0s]
  Running ‘readWindowsShellLink.R’ [0s/0s]
  Running ‘readWindowsShortcut.R’ [0s/0s]
  Running ‘resample.R’ [0s/0s]
  Running ‘seqToHumanReadable.R’ [0s/0s]
  Running ‘seqToIntervals.R’ [0s/0s]
  Running ‘sourceTo.R’ [0s/0s]
  Running ‘splitByPattern.R’ [0s/0s]
  Running ‘subplots.R’ [0s/0s]
  Running ‘symlinks,dirs.R’ [0s/0s]
  Running ‘symlinks,files.R’ [1s/1s]
  Running ‘systemR.R’ [0s/0s]
  Running ‘tempvar.R’ [0s/0s]
  Running ‘tmpfile.R’ [0s/0s]
  Running ‘toCamelCase.R’ [0s/0s]
  Running ‘touchFile.R’ [0s/0s]
  Running ‘use.R’ [0s/0s]
  Running ‘useRepos.R’ [0s/0s]
  Running ‘whichVector.R’ [0s/0s]
  Running ‘withCapture.R’ [0s/0s]
  Running ‘withLocale.R’ [0s/0s]
  Running ‘withOptions.R’ [0s/0s]
  Running ‘withRepos.R’ [0s/0s]
  Running ‘withSeed.R’ [0s/0s]
  Running ‘withSink.R’ [0s/0s]
  Running ‘withTimeout.R’ [1s/8s]
  Running ‘wrap.array.R’ [0s/0s]
  Running ‘writeDataFrame.R’ [0s/1s]
  Running ‘zzz_finalizer_crash.R’ [3s/3s]
Running the tests in ‘tests/loadObject.R’ failed.
Complete output:
  > library("R.utils")
  Loading required package: R.oo
  Loading required package: R.methodsS3
  R.methodsS3 v1.7.1 (2016-02-15) successfully loaded. See ?R.methodsS3 for help.
  R.oo v1.22.0 (2018-04-21) successfully loaded. See ?R.oo for help.
  
  Attaching package: 'R.oo'
  
  The following objects are masked from 'package:methods':
  
      getClasses, getMethods
  
  The following objects are masked from 'package:base':
  
      attach, detach, gc, load, save
  
  R.utils v2.7.0 successfully loaded. See ?R.utils for help.
  
  Attaching package: 'R.utils'
  
  The following object is masked from 'package:utils':
  
      timestamp
  
  The following objects are masked from 'package:base':
  
      cat, commandArgs, getOption, inherits, isOpen, parse, warnings
  
  > 
  > x <- 1:10
  > str(x)
   int [1:10] 1 2 3 4 5 6 7 8 9 10
  > 
  > file <- tempfile(fileext="")
  > 
  > file1 <- saveObject(x, file=file)
  > print(file1)
  [1] "/tmp/RtmpVXaszD/file7065271a8c2f"
  > x1 <- loadObject(file1)
  > str(x1)
   int [1:10] 1 2 3 4 5 6 7 8 9 10
  > stopifnot(all.equal(x1, x))
  > file.remove(file1)
  [1] TRUE
  > 
  > file2 <- saveObject(x, file=sprintf("%s.xdr", file))
  > print(file2)
  [1] "/tmp/RtmpVXaszD/file7065271a8c2f.xdr"
  > x2 <- loadObject(file2)
  > str(x2)
   int [1:10] 1 2 3 4 5 6 7 8 9 10
  > stopifnot(all.equal(x2, x))
  > file.remove(file2)
  [1] TRUE
  > 
  > file3 <- saveObject(x, file=sprintf("%s.rds", file))
  > print(file3)
  [1] "/tmp/RtmpVXaszD/file7065271a8c2f.rds"
  > x3 <- loadObject(file3, format="rds")
  > str(x3)
   int [1:10] 1 2 3 4 5 6 7 8 9 10
  > stopifnot(all.equal(x3, x))
  > file.remove(file3)
  [1] TRUE
  > 
  > file4 <- saveObject(x, file=sprintf("%s.Rbin", file))
  > print(file4)
  [1] "/tmp/RtmpVXaszD/file7065271a8c2f.Rbin"
  > x4 <- loadObject(file4)
  > str(x4)
   int [1:10] 1 2 3 4 5 6 7 8 9 10
  > stopifnot(all.equal(x4, x))
  > file.remove(file4)
  [1] TRUE
  > 
  > if (isPackageInstalled("digest")) {
  +   file <- saveObject(x)
  +   print(file)
  +   file.remove(file)
  + }
  Loading required namespace: digest
  Failed with error:  'unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/digest/libs/digest.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/digest/libs/digest.so: failed to map segment from shared object'
  [2018-12-17 05:31:09] Exception: Package not loaded: digest
  
    at #02. saveObject.default(x)
            - saveObject.default() is in environment 'R.utils'
  
    at #01. saveObject(x)
            - saveObject() is in environment 'R.utils'
  
  Error: Package not loaded: digest
  Execution halted
Running the tests in ‘tests/touchFile.R’ failed.
Complete output:
  > library("R.utils")
  Loading required package: R.oo
  Loading required package: R.methodsS3
  R.methodsS3 v1.7.1 (2016-02-15) successfully loaded. See ?R.methodsS3 for help.
  R.oo v1.22.0 (2018-04-21) successfully loaded. See ?R.oo for help.
  
  Attaching package: 'R.oo'
  
  The following objects are masked from 'package:methods':
  
      getClasses, getMethods
  
  The following objects are masked from 'package:base':
  
      attach, detach, gc, load, save
  
  R.utils v2.7.0 successfully loaded. See ?R.utils for help.
  
  Attaching package: 'R.utils'
  
  The following object is masked from 'package:utils':
  
      timestamp
  
  The following objects are masked from 'package:base':
  
      cat, commandArgs, getOption, inherits, isOpen, parse, warnings
  
  > 
  > # Create files
  > pathnames <- sapply(1:3, FUN=function(x) {
  +   pathname <- tempfile()
  +   cat(file=pathname, "Hello world!")
  +   pathname
  + })
  > 
  > # Record checksums
  > md5a <- sapply(pathnames, FUN=digest::digest, file=TRUE)
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/digest/libs/digest.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/digest/libs/digest.so: failed to map segment from shared object
  Calls: sapply ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
  Execution halted